From 71860fbc869c1ab1380ac28abfc11feef9912414 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 24 Jun 2008 09:52:43 +0000 Subject: [PATCH] suppress warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25374 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiToolbar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index f8a78b08e9..fb552539aa 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -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 } -- 2.39.2