summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-05 02:17:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-05 02:17:51 +0100
commitb43e6d9f1784cb95977a2cfd0a21f7caeed8d6d9 (patch)
treedd0a60d6d6ebaa7ddac20ac0fbf6ebc393966ec2 /src
parentrekonq 0.3.98 (diff)
downloadrekonq-b43e6d9f1784cb95977a2cfd0a21f7caeed8d6d9.tar.xz
Stupid me, committed wrong change. Sorry :)
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 499c7a37..31f0ab2e 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -143,17 +143,17 @@ int Application::newInstance()
{
QTimer::singleShot(0, this, SLOT(postLaunch()));
first = false;
+
+ // is your app session restored? restore session...
+ // this mechanism also falls back to load usual plain rekonq
+ // if something goes wrong...
+ if (ReKonfig::recoverOnCrash() && sessionManager()->restoreSession())
+ {
+ kDebug() << "session restored";
+ return 1;
+ }
}
- // is your app session restored? restore session...
- // this mechanism also falls back to load usual plain rekonq
- // if something goes wrong...
- if (ReKonfig::recoverOnCrash() && sessionManager()->restoreSession())
- {
- kDebug() << "session restored";
- return 1;
- }
-
// are there args? load them..
if (args->count() > 0)
{