summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index afa63028..f6c90bdd 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -396,7 +396,7 @@ void WebView::search()
KService::Ptr engine = KService::serviceByDesktopPath(a->data().toString());
KUrl urlSearch = KUrl(SearchEngine::buildQuery(engine, selectedText()));
- emit loadUrl(urlSearch, Rekonq::NewCurrentTab);
+ emit loadUrl(urlSearch, Rekonq::NewFocusedTab);
}
@@ -413,7 +413,7 @@ void WebView::viewImage(Qt::MouseButtons buttons, Qt::KeyboardModifiers modifier
if (modifiers & Qt::ControlModifier || buttons == Qt::MidButton)
{
- emit loadUrl(url, Rekonq::SettingOpenTab);
+ emit loadUrl(url, Rekonq::NewTab);
}
else
{
@@ -436,7 +436,7 @@ void WebView::openLinkInNewTab()
KAction *a = qobject_cast<KAction*>(sender());
KUrl url(a->data().toUrl());
- emit loadUrl(url, Rekonq::SettingOpenTab);
+ emit loadUrl(url, Rekonq::NewTab);
}
@@ -552,7 +552,7 @@ void WebView::inspect()
void WebView::loadUrlInNewTab(const KUrl &url)
{
- emit loadUrl(url, Rekonq::SettingOpenTab);
+ emit loadUrl(url, Rekonq::NewTab);
}