diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-05-07 10:31:33 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-05-07 10:49:02 (GMT) |
commit | 7a33db368c6debf9668b1c11885ed2329c35e200 (patch) | |
tree | 861bb4b6a6abbfaa7f01f9768dbc6400b9ff14ce /src/gui/widgets/qmenu_p.h | |
parent | 3108e5991abf2bff88ddf160baa3e955c956e155 (diff) | |
download | Qt-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_p.h')
-rw-r--r-- | src/gui/widgets/qmenu_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmenu_p.h b/src/gui/widgets/qmenu_p.h index 495872c..f330686 100644 --- a/src/gui/widgets/qmenu_p.h +++ b/src/gui/widgets/qmenu_p.h @@ -358,7 +358,7 @@ public: return 0; } } *wce_menu; - HMENU wceMenu(bool create = false); + HMENU wceMenu(); QAction* wceCommands(uint command); #endif #if defined(Q_WS_S60) |