summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-05-07 10:31:33 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-05-07 10:49:02 (GMT)
commit7a33db368c6debf9668b1c11885ed2329c35e200 (patch)
tree861bb4b6a6abbfaa7f01f9768dbc6400b9ff14ce /src/gui/widgets/qmenu.h
parent3108e5991abf2bff88ddf160baa3e955c956e155 (diff)
downloadQt-7a33db368c6debf9668b1c11885ed2329c35e200.zip
Qt-7a33db368c6debf9668b1c11885ed2329c35e200.tar.gz
Qt-7a33db368c6debf9668b1c11885ed2329c35e200.tar.bz2
Windows CE: fix multiple QAction::triggered() signals
Adding the same menu action object to n menu bars resulted in n QAction::triggered() signals. Now, we're comparing the active window with the parent HWND of the menu bar before triggering. Task-number: QTBUG-10402 Reviewed-by: thartman
Diffstat (limited to 'src/gui/widgets/qmenu.h')
-rw-r--r--src/gui/widgets/qmenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmenu.h b/src/gui/widgets/qmenu.h
index 47dff2b..2b41515 100644
--- a/src/gui/widgets/qmenu.h
+++ b/src/gui/widgets/qmenu.h
@@ -142,7 +142,7 @@ public:
#endif
#ifdef Q_WS_WINCE
- HMENU wceMenu(bool create = false);
+ HMENU wceMenu();
#endif
bool separatorsCollapsible() const;