diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3a37f067..7b468bae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -91,5 +91,11 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv) QCoreApplication::setApplicationName(QLatin1String("rekonq")); QCoreApplication::setApplicationVersion(REKONQ_VERSION); + if (app.isSessionRestored()) + { + for (int i = 1; TabWindow::canBeRestored(i); i++) + app.newTabWindow()->restore(i); + } + return app.exec(); } |