┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-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