]> git.lyx.org Git - features.git/commitdiff
suppress warning
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 24 Jun 2008 09:52:43 +0000 (09:52 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 24 Jun 2008 09:52:43 +0000 (09:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25374 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToolbar.cpp

index f8a78b08e9678dd996a9e7edf88ddc75d0f294bd..fb552539aa8479dafcfd740850f8fb8e26f043b8 100644 (file)
@@ -493,6 +493,8 @@ void GuiLayoutBox::setIconSize(QSize size)
        bool small = size.height() < 20;
        setAttribute(Qt::WA_MacSmallSize, small);
        setAttribute(Qt::WA_MacNormalSize, !small);
+#else
+       (void)size; // suppress warning
 #endif
 }