From: Abdelrazak Younes Date: Thu, 22 May 2008 15:20:43 +0000 (+0000) Subject: fix http://bugzilla.lyx.org/show_bug.cgi?id=4870 X-Git-Tag: 1.6.10~4722 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7b2f6ae6ed43d999fc26e45dc7932eedf2230e5d;p=features.git fix http://bugzilla.lyx.org/show_bug.cgi?id=4870 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24888 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 28413250cf..f2885b1fc1 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -176,13 +176,6 @@ GuiCharacter::GuiCharacter(GuiView & lv) connect(autoapplyCB, SIGNAL(stateChanged(int)), this, SLOT(change_adaptor())); -#ifdef Q_WS_MACX - // On Mac it's common to have tool windows which are always in the - // foreground and are hidden when the main window is not focused. - setWindowFlags(Qt::Tool); - autoapplyCB->setChecked(true); -#endif - family = familyData(); series = seriesData(); shape = shapeData(); @@ -216,6 +209,13 @@ GuiCharacter::GuiCharacter(GuiView & lv) bc().addReadOnly(toggleallCB); bc().addReadOnly(autoapplyCB); +#ifdef Q_WS_MACX + // On Mac it's common to have tool windows which are always in the + // foreground and are hidden when the main window is not focused. + setWindowFlags(Qt::Tool); + autoapplyCB->setChecked(true); +#endif + // FIXME: hack to work around resizing bug in Qt >= 4.2 // bug verified with Qt 4.2.{0-3} (JSpitzm) #if QT_VERSION >= 0x040200