summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 6b9b9490..696185f9 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -288,10 +288,11 @@ int Application::newInstance()
loadUrl(KUrl("about:home"), Rekonq::NewPrivateWindow);
break;
}
- if (SessionManager::self()->restoreSessionFromScratch())
+ if (!SessionManager::self()->restoreSessionFromScratch())
{
- break;
+ loadUrl(KUrl("about:home") , Rekonq::NewTab);
}
+ break;
default:
newWindow()->tabWidget()->newTab();
break;