[Solved] When do menus show for dialogs?

  • I have two non-modal dialogs, and am testing on a Mac: for one of them, when it gets shown the main window's menus remain displayed, and for the other all but the first get hidden. I can't figure out what's causing the difference here: how does Qt determine when to show/hide the main window's menubar when dialogs are displayed?

  • To answer my own question: the dialog is showing the menus from its parent, and I had set a null parent for one of them.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.