summaryrefslogtreecommitdiff
path: root/src/urlbar/completionwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-24 19:52:49 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-24 19:52:49 +0200
commitf3ab2ac51893a7e665e2f20f428325af1b172cc2 (patch)
tree5473381645d564e34927fa73b2c74f5eb3bbe6ec /src/urlbar/completionwidget.cpp
parentMerge commit 'refs/merge-requests/142' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-f3ab2ac51893a7e665e2f20f428325af1b172cc2.tar.xz
Fix naming to clean API
SettingOpenTab --> NewTab (according to settings) NewCurrentTab --> NewFocusedTab
Diffstat (limited to 'src/urlbar/completionwidget.cpp')
-rw-r--r--src/urlbar/completionwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp
index a71e9611..1062681b 100644
--- a/src/urlbar/completionwidget.cpp
+++ b/src/urlbar/completionwidget.cpp
@@ -273,7 +273,7 @@ void CompletionWidget::setVisible(bool visible)
void CompletionWidget::itemChosen(ListItem *item, Qt::MouseButton button, Qt::KeyboardModifiers modifier)
{
if (button == Qt::MidButton || modifier == Qt::ControlModifier)
- emit chosenUrl(item->url(), Rekonq::NewCurrentTab);
+ emit chosenUrl(item->url(), Rekonq::NewFocusedTab);
else
emit chosenUrl(item->url(), Rekonq::CurrentTab);
hide();