X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f2aae09edd023bb0bb4e56e6662bc0afc9550e54..4e8e54e6dbfe507b6513b10f383d8aab42460a64:/src/dolphinview.cpp diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index b74cbea53..5ef00d60a 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -900,7 +900,7 @@ void DolphinView::dropUrls(const KFileItem& destItem, const KUrl& destPath, QDropEvent* event) { - DragAndDropHelper::dropUrls(destItem, destPath, event, this); + DragAndDropHelper::instance().dropUrls(destItem, destPath, event, this); } void DolphinView::updateSorting(DolphinView::Sorting sorting) @@ -1292,6 +1292,10 @@ void DolphinView::deleteView() m_topLayout->removeWidget(view); view->close(); + disconnect(view); + m_controller->disconnect(view); + view->disconnect(); + bool deleteView = true; foreach (const QAbstractItemView* expandedView, m_expandedViews) { if (view == expandedView) {