summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-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;
}