Revert "qtui: Don't create parented dialogs on the stack"
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 4 Oct 2018 10:19:54 +0000 (12:19 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 4 Oct 2018 14:28:33 +0000 (16:28 +0200)
commit27d4c8abb89e35ac55c68ef141ed75c1027e5c05
treedc507164c20ded97ca0e4b10aa87009ee3f92d21
parent299bb29099bdfac07f6b318b62f5f4c50d7493e3
Revert "qtui: Don't create parented dialogs on the stack"

Auto-deleting dialogs is a bad idea if we're accessing the instance
after exec(). We could work around this in the affected cases,
however it may be easier and cleaner to create the dialogs on the
stack again, but don't parent them to avoid the crashes we intended
to fix with this commit.

This reverts commit 4e452ee828fdb411e6b1db07c18e02681a30ff27.
src/qtui/mainwin.cpp
src/uisupport/settingspage.cpp