summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-05-29 14:29:19 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-05-29 14:31:06 (GMT)
commitcc10cda46329866e229eb7f190b1e0aeff09f76d (patch)
treeb62d938e7edc88a84379035ea757bd6291d52849 /src/gui
parent07fbbf76bef1845bb6c490b15a0b7caabf23d888 (diff)
downloadQt-cc10cda46329866e229eb7f190b1e0aeff09f76d.zip
Qt-cc10cda46329866e229eb7f190b1e0aeff09f76d.tar.gz
Qt-cc10cda46329866e229eb7f190b1e0aeff09f76d.tar.bz2
Wrong default argument for my previous fix.
Argh! This was a private function and I assumed that I had the boolean correct, but I was wrong. Anyway, we don't need to do the group fade be default ever, so always have it false.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/qmenu_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmenu_p.h b/src/gui/widgets/qmenu_p.h
index 9654126..f08283d 100644
--- a/src/gui/widgets/qmenu_p.h
+++ b/src/gui/widgets/qmenu_p.h
@@ -220,7 +220,7 @@ public:
virtual QList<QPointer<QWidget> > calcCausedStack() const;
QMenuCaused causedPopup;
void hideUpToMenuBar();
- void hideMenu(QMenu *menu, bool delay = true);
+ void hideMenu(QMenu *menu, bool justRegister = false);
//index mappings
inline QAction *actionAt(int i) const { return q_func()->actions().at(i); }