summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFilipe Azevedo <filipe.azevedo@kdab.com>2016-08-01 19:01:03 +0200
committerDavid Faure <david.faure@kdab.com>2016-08-22 09:09:25 +0000
commitf44ef9daf9f0f9db6775fdb6d3fc8703b6ce77e4 (patch)
tree69b454bd7889bcc5f6d7f8a5029399e90a4a1bcb /tests
parent5bd57528b5cf7b22a81b1195d90b0a364c0428aa (diff)
downloadqtquickcontrols-f44ef9daf9f0f9db6775fdb6d3fc8703b6ce77e4.tar.gz
macOS: Fix native dangling menu still visible on screen and crash
If the parent window gets destroyed while a QtQuick Controls menu is open the macOS native platform menu is not dismissed and you see a blank gray rectangle without any text. Also, at this point the QQmlEngine was already destroyed but it's still present on the call stack, so you get a crash when the stack unwinds to the original right mouse click that created the context menu. Change-Id: I638b0de13734815995d2994e6dd6603bcb0ebefc Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions