aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2018-07-06 13:28:31 +0200
committerhjk <[email protected]>2018-07-06 13:42:05 +0000
commitcb572773c0f6e6d577e29702c7484ce3f252cdff (patch)
tree90f0cf245cbd61281d604a53da00ce113305caa9 /src/plugins/debugger/debuggerplugin.cpp
parent887cdfa7e996156ace831109836bca4f91284da8 (diff)
Debugger: Robustify MainWindow state saving
Save the state before child widgets are affected. Task-number: QTCREATORBUG-20721 Change-Id: I1d0d1ca610b0a8e8904585953ecbb42dddee4827 Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 0857b63ba6b..cf0ce7d5b29 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -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);