summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fe8ce0eb..e97f2502 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,6 +26,7 @@
// Local Includes
#include "application.h"
+#include "sessionmanager.h"
// KDE Includes
#include <KAboutData>
@@ -127,5 +128,11 @@ int main(int argc, char **argv)
}
Application app;
+
+ if( app.isSessionRestored() )
+ {
+ Application::sessionManager()->restoreSession();
+ }
+
return app.exec();
}