]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/treeviewsidebarpage.cpp
Don't request any meta data, if the requested URL is equal to the currently shown...
[dolphin.git] / src / treeviewsidebarpage.cpp
index d349f7b0b27bacf04dc64fe0d45b0787f6c3ff46..6cf2ede18433bc0382e4c6dcebd24baaa890721b 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "treeviewsidebarpage.h"
 
+#include "dolphindropcontroller.h"
 #include "dolphinmodel.h"
 #include "dolphinsortfilterproxymodel.h"
 #include "dolphinview.h"
@@ -210,7 +211,7 @@ void TreeViewSidebarPage::dropUrls(const QModelIndex& index, QDropEvent* event)
         KFileItem item = m_dolphinModel->itemForIndex(dirIndex);
         Q_ASSERT(!item.isNull());
         if (item.isDir()) {
-            emit urlsDropped(item, item.url(), event);
+            DolphinDropController::dropUrls(item, item.url(), event, this);
         }
     }
 }