diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-29 13:38:06 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-29 13:38:45 (GMT) |
commit | 82c48b13249fbcd96d8287f3cd1fdfd61802523c (patch) | |
tree | 5713b0936f049492990db70acdd6da2c53e63781 /src/gui/widgets/qmenubar_p.h | |
parent | a9c225e6b464337d253e6b9aa5eaac82d01b3301 (diff) | |
download | Qt-82c48b13249fbcd96d8287f3cd1fdfd61802523c.zip Qt-82c48b13249fbcd96d8287f3cd1fdfd61802523c.tar.gz Qt-82c48b13249fbcd96d8287f3cd1fdfd61802523c.tar.bz2 |
QMenuBar: adding autotest and simplify/fix geometry calculation
Diffstat (limited to 'src/gui/widgets/qmenubar_p.h')
-rw-r--r-- | src/gui/widgets/qmenubar_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/qmenubar_p.h b/src/gui/widgets/qmenubar_p.h index 5b209b2..bac1912 100644 --- a/src/gui/widgets/qmenubar_p.h +++ b/src/gui/widgets/qmenubar_p.h @@ -69,7 +69,7 @@ class QMenuBarPrivate : public QWidgetPrivate { Q_DECLARE_PUBLIC(QMenuBar) public: - QMenuBarPrivate() : itemsDirty(0), itemsWidth(0), itemsStart(-1), currentAction(0), mouseDown(0), + QMenuBarPrivate() : itemsDirty(0), currentAction(0), mouseDown(0), closePopupMode(0), defaultPopDown(1), popupState(0), keyboardState(0), altPressed(0), nativeMenuBar(-1) #ifdef Q_WS_MAC @@ -95,7 +95,6 @@ public: //item calculations uint itemsDirty : 1; - int itemsWidth, itemsStart; QVector<int> shortcutIndexMap; mutable QVector<QRect> actionRects; |