summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-04 12:42:35 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-04 12:42:35 +0200
commit6c8913f13ecd48f96fdde083293646070c6df4b0 (patch)
tree4e2ea0643c8d08ca35682c8760e53b508c955138 /src
parentGeneral (shift +) ctrl tab switch management. (diff)
downloadrekonq-6c8913f13ecd48f96fdde083293646070c6df4b0.tar.xz
Changing rekonq exit numbers
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp8
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;
}