diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-11-25 11:39:02 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-11-27 22:50:33 +0000 |
commit | 4eea99788b11ab8b5e3e68764671757d010425c6 (patch) | |
tree | 0b9e8a3d5bdcfae7c988596e2a5b907b02cef638 /src/corelib/thread/qmutex_mac.cpp | |
parent | 884e3bdd5de3aee841f7194972f1eeeae05649e8 (diff) |
Fix closing a QMenu by pressing Alt.
In QMenuPrivate::hideMenu(), delay clearing of 'causedPopup.widget'
to after the QMenu::close() call, so that it is still accessible
in QMenu::hideEvent() which calls QMenuBarPrivate::setCurrentAction(0)
if the caused widget is a QMenuBar.
Task-number: QTBUG-47377
Task-number: QTBUG-49592
Change-Id: Idbda48e918dae799afea84068a60d7383d7b4971
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/thread/qmutex_mac.cpp')
0 files changed, 0 insertions, 0 deletions