Reactivate drop-above-places-panel functionality

Dropping items into the Places panel has been temporary deactivated because
of switching to the new view-engine -> reactivate it again

BUG: 204359
FIXED-IN: 4.8.0
This commit is contained in:
Peter Penz 2011-12-06 16:28:04 +01:00
parent 51e1858398
commit 0db2847504

View file

@ -22,6 +22,7 @@
#include <KFileItem>
#include <konq_operations.h>
#include <views/draganddrophelper.h>
PlacesPanel::PlacesPanel(QWidget* parent) :
KFilePlacesView(parent),
@ -46,10 +47,7 @@ void PlacesPanel::mousePressEvent(QMouseEvent* event)
void PlacesPanel::slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent)
{
Q_UNUSED(dest);
Q_UNUSED(event);
Q_UNUSED(parent);
//DragAndDropHelper::instance().dropUrls(KFileItem(), dest, event, parent);
DragAndDropHelper::dropUrls(KFileItem(), dest, event, parent);
}
void PlacesPanel::emitExtendedUrlChangedSignal(const KUrl& url)