┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2008-09-29 21:00:34 +0000
committerDavid Faure <[email protected]>2008-09-29 21:00:34 +0000
commit62afe1570e925331f47256f5579baa2b70d60821 (patch)
tree5a30fa5bd2bf920e352e253803f1c06dac1139cc
parentf9f6718694b31cd453e9f832cf094a46afc97178 (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=866046
-rw-r--r--src/dolphinmainwindow.cpp7
1 files 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