Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 1835:e5229958a10c plugin-path-config
Since the rapid applicationClosing(true) was introduced on the following line, this has no longer been necessary -- and it produces a crash itself, as closeSession deletes the preferences dialog itself
author | Chris Cannam |
---|---|
date | Fri, 25 May 2018 10:17:39 +0100 |
parents | bea6e7bced25 |
children | dc275d7d9aa6 4e43b07eb84d |
comparison
equal
deleted
inserted
replaced
1834:4551f634cd09 | 1835:e5229958a10c |
---|---|
3542 } | 3542 } |
3543 settings.endGroup(); | 3543 settings.endGroup(); |
3544 | 3544 |
3545 if (m_preferencesDialog && | 3545 if (m_preferencesDialog && |
3546 m_preferencesDialog->isVisible()) { | 3546 m_preferencesDialog->isVisible()) { |
3547 closeSession(); // otherwise we'll have to wait for prefs changes | |
3548 m_preferencesDialog->applicationClosing(true); | 3547 m_preferencesDialog->applicationClosing(true); |
3549 } | 3548 } |
3550 | 3549 |
3551 closeSession(); | 3550 closeSession(); |
3552 | 3551 |