]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinfileplacesview.cpp
use a smaller step size when using the scroll wheel
[dolphin.git] / src / dolphinfileplacesview.cpp
index a2291275d1e266dbac32c54ddf37c27095634bc7..df3e6fd878f87df0e87e425784a7878d604e656a 100644 (file)
@@ -18,7 +18,7 @@
  ***************************************************************************/
 
 #include "dolphinfileplacesview.h"
-#include "dolphindropcontroller.h"
+#include "draganddrophelper.h"
 #include <kfileitem.h>
 #include <konq_operations.h>
 
@@ -45,11 +45,7 @@ void DolphinFilePlacesView::mousePressEvent(QMouseEvent* event)
 
 void DolphinFilePlacesView::slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent)
 {
-    DolphinDropController dropController(parent);
-    // forward doingOperation signal up to the mainwindow
-    connect(&dropController, SIGNAL(doingOperation(KIO::FileUndoManager::CommandType)),
-            this, SIGNAL(doingOperation(KIO::FileUndoManager::CommandType)));
-    dropController.dropUrls(KFileItem(), dest, event);
+    DragAndDropHelper::instance().dropUrls(KFileItem(), dest, event, parent);
 }
 
 void DolphinFilePlacesView::emitExtendedUrlChangedSignal(const KUrl& url)