summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-29 13:46:33 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-29 14:11:14 (GMT)
commitd4a80a0161be902aaf0981aa7399b29402a67e5e (patch)
tree8201f7a18fe223d4dc611c27c653c7791526c9d2
parentcb7d8c7a199a6b9162b4d8181a3f9599a787fd9a (diff)
downloadQt-d4a80a0161be902aaf0981aa7399b29402a67e5e.zip
Qt-d4a80a0161be902aaf0981aa7399b29402a67e5e.tar.gz
Qt-d4a80a0161be902aaf0981aa7399b29402a67e5e.tar.bz2
QMenuBar: some private members weren't initialized
This was a coverity warning
-rw-r--r--src/gui/widgets/qmenubar_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/qmenubar_p.h b/src/gui/widgets/qmenubar_p.h
index bac1912..b890b7b 100644
--- a/src/gui/widgets/qmenubar_p.h
+++ b/src/gui/widgets/qmenubar_p.h
@@ -71,7 +71,10 @@ class QMenuBarPrivate : public QWidgetPrivate
public:
QMenuBarPrivate() : itemsDirty(0), currentAction(0), mouseDown(0),
closePopupMode(0), defaultPopDown(1), popupState(0), keyboardState(0), altPressed(0),
- nativeMenuBar(-1)
+ nativeMenuBar(-1), doChildEffects(false)
+#ifdef QT3_SUPPORT
+ , doAutoResize(false)
+#endif
#ifdef Q_WS_MAC
, mac_menubar(0)
#endif