summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenubar.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/qmenubar.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/qmenubar.h')
-rw-r--r--src/gui/widgets/qmenubar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmenubar.h b/src/gui/widgets/qmenubar.h
index 85c0988..c63a4f5 100644
--- a/src/gui/widgets/qmenubar.h
+++ b/src/gui/widgets/qmenubar.h
@@ -115,7 +115,7 @@ public:
void setDefaultAction(QAction *);
QAction *defaultAction() const;
- static void wceCommands(uint command, HWND controlHandle);
+ static void wceCommands(uint command);
static void wceRefresh();
#endif