diff options
author | Massimiliano Gubinelli <m.gubinelli@gmail.com> | 2019-05-14 14:16:28 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-05-16 12:33:45 +0000 |
commit | a4bd4565ccd351f979507f1af3d90c61845c532c (patch) | |
tree | 86a4930845446250ab1ec77e8a4381747e93860c /src/plugins/platforms/android | |
parent | 1f04b0944633fd526585ee76d211ef7792810821 (diff) |
Emit QMenu::aboutToShow() before platform specific code
Send the aboutToShow() signal to QMenu before synchronising the
widgets for the menu items. This fixes a bug where if new
QWidgetActions are added to the menu from a slot triggered by the menu's
aboutToShow() signal, then such new actions do not shows up correctly on
Mac. Other platforms are not affected by the change.
Fixes: QTBUG-75826
Change-Id: Ic245d3fbc7ddde6944cca6cdb8e8951380c846ec
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/android')
0 files changed, 0 insertions, 0 deletions