X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=c6d4051e5e14fb093f53c40f66108b5ceee035ae;hp=18e0e9c42fac5881c1fb103de9df7f64416bb38a;hb=4ef342acedf6a7a2176165c741e05d88c6a253de;hpb=4146abb352834db6537acc45e102defa9ed7a2f8 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 18e0e9c4..c6d4051e 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -136,6 +136,8 @@ MainWin::MainWin(QWidget *parent) _awayLog(0), _layoutLoaded(false) { + setAttribute(Qt::WA_DeleteOnClose, false); // we delete the mainwin manually + QtUiSettings uiSettings; QString style = uiSettings.value("Style", QString()).toString(); if(!style.isEmpty()) {