summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-02 11:37:41 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-02 11:37:41 +0100
commitd44dbdafcd96dd988076b729810af964a6e9bf7c (patch)
treedd1a69f1a5cb59855db9592f3f03b479492bfd10 /src/application.cpp
parentabout:tabs, easy method to manage rekonq tabs. (diff)
downloadrekonq-d44dbdafcd96dd988076b729810af964a6e9bf7c.tar.xz
Clean up rekonq.kcfg
It was really a mess before. I also found 2 settings never used... WARNING: This will cost users to reset some settings. Sorry for that
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: