summaryrefslogtreecommitdiff
path: root/src/sessionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionmanager.cpp')
-rw-r--r--src/sessionmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sessionmanager.cpp b/src/sessionmanager.cpp
index 74e9603c..6e4ed7dc 100644
--- a/src/sessionmanager.cpp
+++ b/src/sessionmanager.cpp
@@ -143,9 +143,9 @@ void SessionManager::saveSession()
bool SessionManager::restoreSessionFromScratch()
{
QDomDocument document("session");
-
- if(!readSessionDocument(document, m_sessionFilePath))
- return false;
+
+ if (!readSessionDocument(document, m_sessionFilePath))
+ return false;
for (unsigned int winNo = 0; winNo < document.elementsByTagName("window").length(); winNo++)
{