Commit 804a5731 authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix renaming of seesions not deleting the old session name

This was caused by the PersistentSettingsWriter writing the old
session on being deleted. Which was after we removed the file.

So delete the PersistentSettingsReader earlier.

Change-Id: I7e73775cc1c2e31b2f2a567b1d08efefdb3ee949
Task-number: QTCREATORBUG-14285
Reviewed-by: default avatarSergey Belyashov <>
Reviewed-by: default avatarTobias Hunger <>
parent 20234898
......@@ -927,6 +927,8 @@ bool SessionManager::loadSession(const QString &session)
d->m_sessionName = session;
delete d->m_writer;
d->m_writer = 0;
if (fileName.exists()) {
Markdown is supported
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