]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix connect.
authorDavid Faure <faure@kde.org>
Mon, 29 Sep 2008 21:00:34 +0000 (21:00 +0000)
committerDavid Faure <faure@kde.org>
Mon, 29 Sep 2008 21:00:34 +0000 (21:00 +0000)
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

index 2ab72536715094852cc90dd0014ec27c083d6868..588404aaa818c67dc6cb528a487009602e84c870 100644 (file)
@@ -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