From 95ac842f2973b64380a93fbe5e46e94646bf5a38 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 May 2008 21:51:04 +0000 Subject: A middle click on an item of the tree view panel should open the URL inside a new tab. TODO: cleanup some obsolete signals/structure inside SidebarPage and TreeviewSidebarPage. svn path=/trunk/KDE/kdebase/apps/; revision=806635 --- src/dolphinmainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 149f58b0f..51cb22e9d 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1046,8 +1046,8 @@ void DolphinMainWindow::setupDockWidgets() addDockWidget(Qt::LeftDockWidgetArea, treeViewDock); connect(this, SIGNAL(urlChanged(KUrl)), treeWidget, SLOT(setUrl(KUrl))); - connect(treeWidget, SIGNAL(changeUrl(KUrl)), - this, SLOT(changeUrl(KUrl))); + connect(treeWidget, SIGNAL(changeUrl(KUrl, Qt::MouseButtons)), + this, SLOT(handlePlacesClick(KUrl, Qt::MouseButtons))); connect(treeWidget, SIGNAL(changeSelection(KFileItemList)), this, SLOT(changeSelection(KFileItemList))); connect(treeWidget, SIGNAL(urlsDropped(KUrl::List, KUrl)), -- cgit v1.3