When opening multiple QMainWindows and closing one, the app crashes when using the application menu.
open a second window
close the newly opened window
click on "sdi" in the menu bar
This happens with every app using menu items, which get merged into the application menu (about, preferences, exit).
It seems like closing a main window does cleanup its menu including merged items, but that the merged items are still referenced.
|For Gerrit Dashboard: QTBUG-30451|
|56196,2||Cocoa: Make sure main window gets focus after closing modal dialog||stable||qt/qtbase||Status: MERGED||+2||0|