Fix warning about initialization order

Merge-request: 916
Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com>
(cherry picked from commit f7b60fffb673b182e633545bffd1d310337aca50)
bb10
Aurélien Gâteau 2011-04-14 10:00:18 +02:00 committed by Olivier Goffart
parent 83ecb25998
commit e84cfbfcfa
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()