diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-01 02:06:55 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-01 02:06:55 +0200 |
commit | 801c6ac411f787c8ad0febab9da2f1b20fc2c84e (patch) | |
tree | 5b0ef0b386a7f1c19a9231980d6296945b9b09b2 /src/webpage.cpp | |
parent | Fix tab in background feature (diff) | |
download | rekonq-801c6ac411f787c8ad0febab9da2f1b20fc2c84e.tar.xz |
Some string changes and various fixes
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 7938208a..11d17a6e 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -105,7 +105,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r // if frame doesn't exists (perhaps) we are pointing to a blank target.. if (!frame) { - Application::instance()->loadUrl(request.url(), Rekonq::NewTab); + Application::instance()->loadUrl(request.url(), Rekonq::SettingOpenTab); return false; } } @@ -131,7 +131,7 @@ WebPage *WebPage::newWindow(WebWindowType type) kDebug() << "Modal Dialog ---------------------------------------"; } - WebView *w = Application::instance()->mainWindow()->mainView()->newTab(); + WebView *w = Application::instance()->mainWindow()->mainView()->newTab(!ReKonfig::openTabsBack()); return w->page(); } |