Fix warning about initialization order

Merge-request: 1254
Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
(cherry picked from commit b4ddcbbf1ce067a823815c07a357a065be731d48)

Change-Id: I809de3c201f47cd8936845447ad60b00cf4c0db7
Reviewed-on: http://codereview.qt.nokia.com/3930
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
bb10
Aurélien Gâteau 2010-11-10 22:58:18 +01:00 committed by Qt by Nokia
parent f0d7e705ee
commit 1a07ca9383
1 changed files with 3 additions and 3 deletions

View File

@ -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
@ -162,9 +165,6 @@ public:
#endif
#ifdef Q_WS_S60
,symbian_menu(0)
#endif
#ifdef QT3_SUPPORT
,emitHighlighted(false)
#endif
{ }
~QMenuPrivate()