From 72219b94111542eb45cf8b93ad12c47f1d33aaa8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 27 Sep 2011 13:00:01 +0200 Subject: Fix session manager restore I think we need to consider the two cases (normal restore vs restore from crash) in different ways. --- src/sessionmanager.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/sessionmanager.h') diff --git a/src/sessionmanager.h b/src/sessionmanager.h index fa23623e..ae6caaa2 100644 --- a/src/sessionmanager.h +++ b/src/sessionmanager.h @@ -57,11 +57,12 @@ public: QList closedSites(); -public slots: - bool restoreSession(); +public Q_SLOTS: + bool restoreSessionFromScratch(); -private slots: +private Q_SLOTS: void saveSession(); + void restoreCrashedSession(); private: QString m_sessionFilePath; -- cgit v1.2.1