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 942e0876..fb67c236 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -454,14 +454,14 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
switch (newType)
{
case Rekonq::NewTab:
- if (ReKonfig::openTabNoWindow())
+ if (ReKonfig::openLinksInNewWindow())
{
- tab = w->mainView()->newWebTab(!ReKonfig::openTabsBack());
+ w = newMainWindow();
+ tab = w->mainView()->currentWebTab();
}
else
{
- w = newMainWindow();
- tab = w->mainView()->currentWebTab();
+ tab = w->mainView()->newWebTab(!ReKonfig::openNewTabsInBackground());
}
break;
case Rekonq::NewFocusedTab: