Commit 444a4c9f authored by Abdel-Rahman Abdel-Rahman's avatar Abdel-Rahman Abdel-Rahman
Browse files

Save config after it is closed by the window manager

This is a bug that has resurfaced with commit
d4dc1bee as the aboutToQuit signal is
emitted after the JuK singleton is destroyed, thus it does not
trigger the saveConfig slot.

BUG: 359681
parent 056bfc28
......@@ -176,6 +176,9 @@ JuK::JuK(const QStringList &filesToOpen, QWidget *parent) :
JuK::~JuK()
{
if(!m_shuttingDown)
slotQuit();
// Some items need to be deleted before others, though I haven't looked
// at this in some time so refinement is probably possible.
delete m_systemTray;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment