suppress warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25374 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-06-24 09:52:43 +00:00
parent cfbe5dd9e1
commit 71860fbc86

View 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
}