summaryrefslogtreecommitdiff
path: root/src/paneltreeview.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/paneltreeview.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/paneltreeview.cpp')
-rw-r--r--src/paneltreeview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paneltreeview.cpp b/src/paneltreeview.cpp
index 58673d60..f935d8a2 100644
--- a/src/paneltreeview.cpp
+++ b/src/paneltreeview.cpp
@@ -101,7 +101,7 @@ void PanelTreeView::mouseReleaseEvent(QMouseEvent *event)
return;
if (event->button() == Qt::MidButton || event->modifiers() == Qt::ControlModifier)
- validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::SettingOpenTab);
+ validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::NewTab);
else if (event->button() == Qt::LeftButton)
{
@@ -186,7 +186,7 @@ void PanelTreeView::openInNewTab()
if (!index.isValid())
return;
- validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::SettingOpenTab);
+ validOpenUrl(qVariantValue< KUrl >(index.data(Qt::UserRole)), Rekonq::NewTab);
}