forked from qt-creator/qt-creator
Debugger: Robustify MainWindow state saving
Save the state before child widgets are affected. Task-number: QTCREATORBUG-20721 Change-Id: I1d0d1ca610b0a8e8904585953ecbb42dddee4827 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -2799,7 +2799,6 @@ void DebuggerPluginPrivate::aboutToShutdown()
|
||||
|
||||
disconnect(SessionManager::instance(), &SessionManager::startupProjectChanged, this, nullptr);
|
||||
|
||||
m_mainWindow->saveCurrentPerspective();
|
||||
m_shutdownTimer.setInterval(0);
|
||||
m_shutdownTimer.setSingleShot(true);
|
||||
connect(&m_shutdownTimer, &QTimer::timeout, this, &DebuggerPluginPrivate::doShutdown);
|
||||
|
||||
Reference in New Issue
Block a user