From 62afe1570e925331f47256f5579baa2b70d60821 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 29 Sep 2008 21:00:34 +0000 Subject: [PATCH] Fix connect. But the one in dolphinviewcontainer (connecting to the kurlnavigator slot urlsDropped) still fails, since it has no QDropEvent. Not sure what's the plan there. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=866046 --- src/dolphinmainwindow.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2ab725367..588404aaa 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -281,7 +281,7 @@ void DolphinMainWindow::openNewTab(const KUrl& url) viewTab.primaryView->view()->reload(); m_viewTab.append(viewTab); - + actionCollection()->action("close_tab")->setEnabled(true); } @@ -1059,9 +1059,8 @@ void DolphinMainWindow::setupDockWidgets() this, SLOT(handlePlacesClick(KUrl, Qt::MouseButtons))); connect(treeWidget, SIGNAL(changeSelection(KFileItemList)), this, SLOT(changeSelection(KFileItemList))); - // TODO: connecting to urlsDropped() fails! - connect(treeWidget, SIGNAL(urlsDropped(KFileItem&, KUrl&, QDropEvent*)), - this, SLOT(dropUrls(KFileItem&, KUrl&, QDropEvent*))); + connect(treeWidget, SIGNAL(urlsDropped(KFileItem, KUrl, QDropEvent*)), + this, SLOT(dropUrls(KFileItem, KUrl, QDropEvent*))); // setup "Terminal" #ifndef Q_OS_WIN -- 2.47.3