┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placespanel.h
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2022-02-07 13:10:53 +0100
committerKai Uwe Broulik <[email protected]>2022-03-04 18:25:38 +0000
commitdf79f5b47723e485395cec30645acbe0e2bafba9 (patch)
treee644b7921b988487432769bc636a8d18a0a51d9b /src/panels/places/placespanel.h
parentb6e03e05f4b63dc86c763f73ec863137ea59d2f0 (diff)
[Places Panel] Reject drops on unwritable locations
Indicate that you cannot drop here. Avoids a "Cannot drop file" or "not supported" error when dropping files ontop of a search or timeline URL. It is done in Dolphin rather than the library as there we cannot assume what a consumer might be doing with the drop.
Diffstat (limited to 'src/panels/places/placespanel.h')
-rw-r--r--src/panels/places/placespanel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h
index 97be1f735..6c37301ad 100644
--- a/src/panels/places/placespanel.h
+++ b/src/panels/places/placespanel.h
@@ -54,6 +54,7 @@ Q_SIGNALS:
protected:
void showEvent(QShowEvent* event) override;
+ void dragMoveEvent(QDragMoveEvent *event) override;
private Q_SLOTS:
void slotConfigureTrash();