From: David Faure Date: Mon, 29 Sep 2008 21:00:34 +0000 (+0000) Subject: Fix connect. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/62afe1570e925331f47256f5579baa2b70d60821 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 --- 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