]> git.lyx.org Git - features.git/commitdiff
* only for Mac
authorStefan Schimanski <sts@lyx.org>
Fri, 14 Mar 2008 23:07:40 +0000 (23:07 +0000)
committerStefan Schimanski <sts@lyx.org>
Fri, 14 Mar 2008 23:07:40 +0000 (23:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23728 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToolbar.cpp

index 24d1e77cdc71d41779be7776a2f036e045ec7837..a634dbe164e0788f2cdd8727fff3a0294a0eb93d 100644 (file)
@@ -659,9 +659,11 @@ bool GuiLayoutBox::eventFilter(QObject * o, QEvent * e)
        
 void GuiLayoutBox::setIconSize(QSize size)
 {
+#ifdef Q_WS_MAC
        bool small = size.height() < 20;
        setAttribute(Qt::WA_MacSmallSize, small);
        setAttribute(Qt::WA_MacNormalSize, !small);
+#endif
 }