summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAurélien Gâteau <agateau@kde.org>2011-04-14 10:00:18 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-10 12:54:46 +0200
commite84cfbfcfa7ab75bc298588984446efac6f0ac57 (patch)
tree413e80f03d0e6c0ba701e9b10bd9ad146605314b /src/gui
parent83ecb25998aa41ae4f8dc48dd6a96cfe7e87a67f (diff)
Fix warning about initialization order
Merge-request: 916 Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com> (cherry picked from commit f7b60fffb673b182e633545bffd1d310337aca50)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/qmenu_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/qmenu_p.h b/src/gui/widgets/qmenu_p.h
index 005ce1d6ee..9fd55cabde 100644
--- a/src/gui/widgets/qmenu_p.h
+++ b/src/gui/widgets/qmenu_p.h
@@ -154,6 +154,9 @@ public:
#endif
scroll(0), eventLoop(0), tearoff(0), tornoff(0), tearoffHighlighted(0),
hasCheckableItems(0), sloppyAction(0), doChildEffects(false)
+#ifdef QT3_SUPPORT
+ ,emitHighlighted(false)
+#endif
#ifdef Q_WS_MAC
,mac_menu(0)
#endif
@@ -163,9 +166,6 @@ public:
#ifdef Q_WS_S60
,symbian_menu(0)
#endif
-#ifdef QT3_SUPPORT
- ,emitHighlighted(false)
-#endif
{ }
~QMenuPrivate()
{