summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-01 02:06:55 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-01 02:06:55 +0200
commit801c6ac411f787c8ad0febab9da2f1b20fc2c84e (patch)
tree5b0ef0b386a7f1c19a9231980d6296945b9b09b2 /src/webpage.cpp
parentFix tab in background feature (diff)
downloadrekonq-801c6ac411f787c8ad0febab9da2f1b20fc2c84e.tar.xz
Some string changes and various fixes
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp4
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();
}