diff options
| author | Peter Penz <[email protected]> | 2008-05-11 21:51:04 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-05-11 21:51:04 +0000 |
| commit | 95ac842f2973b64380a93fbe5e46e94646bf5a38 (patch) | |
| tree | fa0019d02e5212d05c903b03706e1ab6aa39fb47 /src/dolphinmainwindow.cpp | |
| parent | 57e3503e2f7dc2528d7935226d1cd283d8278807 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)), |
