diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 12:42:35 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-04 12:42:35 +0200 |
commit | 6c8913f13ecd48f96fdde083293646070c6df4b0 (patch) | |
tree | 4e2ea0643c8d08ca35682c8760e53b508c955138 /src/application.cpp | |
parent | General (shift +) ctrl tab switch management. (diff) | |
download | rekonq-6c8913f13ecd48f96fdde083293646070c6df4b0.tar.xz |
Changing rekonq exit numbers
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 8 |
1 files 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; } |