mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
51e1858398
commit
0db2847504
1 changed files with 2 additions and 4 deletions
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include <KFileItem>
|
#include <KFileItem>
|
||||||
#include <konq_operations.h>
|
#include <konq_operations.h>
|
||||||
|
#include <views/draganddrophelper.h>
|
||||||
|
|
||||||
PlacesPanel::PlacesPanel(QWidget* parent) :
|
PlacesPanel::PlacesPanel(QWidget* parent) :
|
||||||
KFilePlacesView(parent),
|
KFilePlacesView(parent),
|
||||||
|
@ -46,10 +47,7 @@ void PlacesPanel::mousePressEvent(QMouseEvent* event)
|
||||||
|
|
||||||
void PlacesPanel::slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent)
|
void PlacesPanel::slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent)
|
||||||
{
|
{
|
||||||
Q_UNUSED(dest);
|
DragAndDropHelper::dropUrls(KFileItem(), dest, event, parent);
|
||||||
Q_UNUSED(event);
|
|
||||||
Q_UNUSED(parent);
|
|
||||||
//DragAndDropHelper::instance().dropUrls(KFileItem(), dest, event, parent);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlacesPanel::emitExtendedUrlChangedSignal(const KUrl& url)
|
void PlacesPanel::emitExtendedUrlChangedSignal(const KUrl& url)
|
||||||
|
|
Loading…
Reference in a new issue