]> git.lyx.org Git - features.git/commitdiff
fix http://bugzilla.lyx.org/show_bug.cgi?id=4957
authorAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jun 2008 06:21:04 +0000 (06:21 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 19 Jun 2008 06:21:04 +0000 (06:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25316 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToolbar.cpp

index 2ed5c85aef31702f238cee4121581d64538d73c3..1324e76f9d9d58d72db9cc79ec819c1c8cce5cca 100644 (file)
@@ -668,12 +668,14 @@ GuiToolbar::GuiToolbar(ToolbarInfo const & tbinfo, GuiView & owner)
          allowauto_(false), owner_(owner), layout_(0), command_buffer_(0),
          tbinfo_(tbinfo), filled_(false)
 {
+       connect(&owner, SIGNAL(iconSizeChanged(QSize)), this,
+               SLOT(setIconSize(QSize)));
+
        // Toolbar dragging is allowed.
        setMovable(true);
        // This is used by QMainWindow::restoreState for proper main window state
        // restauration.
        setObjectName(toqstr(tbinfo.name));
-
        restoreSession();
 }