mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
* 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:
parent
4f2d2e8fea
commit
6f26243e13
@ -659,9 +659,11 @@ bool GuiLayoutBox::eventFilter(QObject * o, QEvent * e)
|
|||||||
|
|
||||||
void GuiLayoutBox::setIconSize(QSize size)
|
void GuiLayoutBox::setIconSize(QSize size)
|
||||||
{
|
{
|
||||||
|
#ifdef Q_WS_MAC
|
||||||
bool small = size.height() < 20;
|
bool small = size.height() < 20;
|
||||||
setAttribute(Qt::WA_MacSmallSize, small);
|
setAttribute(Qt::WA_MacSmallSize, small);
|
||||||
setAttribute(Qt::WA_MacNormalSize, !small);
|
setAttribute(Qt::WA_MacNormalSize, !small);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user