From b43e6d9f1784cb95977a2cfd0a21f7caeed8d6d9 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 5 Mar 2010 02:17:51 +0100 Subject: Stupid me, committed wrong change. Sorry :) --- src/application.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/application.cpp') 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) { -- cgit v1.2.1