From: Stefan Schimanski Date: Fri, 14 Mar 2008 23:07:40 +0000 (+0000) Subject: * only for Mac X-Git-Tag: 1.6.10~5643 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6f26243e13d48b9c622b98449be2cabd5f69b208;p=features.git * only for Mac git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23728 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 24d1e77cdc..a634dbe164 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -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 }