qtui: Don't parent dialogs created on the stack
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 4 Oct 2018 10:52:42 +0000 (12:52 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 4 Oct 2018 14:28:33 +0000 (16:28 +0200)
commit893f0c21b72d7e4aedde092887073c590155b6d9
tree02a0cb481da776301ac278e4e4793397f2b44909
parent27d4c8abb89e35ac55c68ef141ed75c1027e5c05
qtui: Don't parent dialogs created on the stack

Dialogs that are created on the stack should not have a parent,
lest they get double-deleted if the main window is destroyed while
such a dialog is still open.
src/qtui/mainwin.cpp