summaryrefslogtreecommitdiff
path: root/src/webpage.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/webpage.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/webpage.cpp')
-rw-r--r--src/webpage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 7a321f3d..61cc50d6 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -253,13 +253,13 @@ WebPage *WebPage::createWindow(QWebPage::WebWindowType type)
kDebug() << "Modal Dialog";
WebTab *w = 0;
- if (ReKonfig::openTabNoWindow())
+ if (ReKonfig::openLinksInNewWindow())
{
- w = rApp->mainWindow()->mainView()->newWebTab(!ReKonfig::openTabsBack());
+ w = rApp->newMainWindow()->mainView()->currentWebTab();
}
else
{
- w = rApp->newMainWindow()->mainView()->currentWebTab();
+ w = rApp->mainWindow()->mainView()->newWebTab(!ReKonfig::openNewTabsInBackground());
}
return w->page();
}