From 6c8913f13ecd48f96fdde083293646070c6df4b0 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 4 Oct 2009 12:42:35 +0200 Subject: Changing rekonq exit numbers --- src/application.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/application.cpp b/src/application.cpp index a7ac47ce..b8ee0a93 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -95,7 +95,7 @@ int Application::newInstance() if (isSessionRestored() && sessionManager()->restoreSession()) { kDebug() << "session restored"; - return 0; + return 1; } // -------------------------------------------------------------------------- @@ -115,7 +115,7 @@ int Application::newInstance() for (int i = 0; i < args->count(); ++i) loadUrl(args->arg(i), Rekonq::NewCurrentTab); - return 1; + return 2; } } @@ -125,14 +125,14 @@ int Application::newInstance() for (int i = 1; i < args->count(); ++i) loadUrl(args->arg(i), Rekonq::SettingOpenTab); - return 2; + return 3; } // creating new window MainWindow *w = newMainWindow(); w->slotHome(); - return 3; + return 0; } -- cgit v1.2.1