diff options
Diffstat (limited to 'src/dolphinfileplacesview.cpp')
| -rw-r--r-- | src/dolphinfileplacesview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dolphinfileplacesview.cpp b/src/dolphinfileplacesview.cpp index 4165b9049..a2291275d 100644 --- a/src/dolphinfileplacesview.cpp +++ b/src/dolphinfileplacesview.cpp @@ -19,6 +19,7 @@ #include "dolphinfileplacesview.h" #include "dolphindropcontroller.h" +#include <kfileitem.h> #include <konq_operations.h> DolphinFilePlacesView::DolphinFilePlacesView(QWidget* parent) : @@ -44,13 +45,11 @@ void DolphinFilePlacesView::mousePressEvent(QMouseEvent* event) void DolphinFilePlacesView::slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent) { - const KUrl::List urls = KUrl::List::fromMimeData(event->mimeData()); - 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(urls, dest); + dropController.dropUrls(KFileItem(), dest, event); } void DolphinFilePlacesView::emitExtendedUrlChangedSignal(const KUrl& url) |
