* only for Mac

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23728 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-14 23:07:40 +00:00
parent 4f2d2e8fea
commit 6f26243e13

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