davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. davidedmundson requested review of this revision.
REVISION SUMMARY When a QApplication is in it's destructor it calls window->destroy() on all remaining QWindows. This deletes the platform window, whilst keeping the real object alive. QtWayland doesn't like this. Deleting the dialog fixes the issue. The deleteLater is fine because QCoreApplication teardown is magic. TEST PLAN crashTest REPOSITORY R871 DrKonqi BRANCH master REVISION DETAIL https://phabricator.kde.org/D28692 AFFECTED FILES src/main.cpp To: davidedmundson, #plasma Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart