From df79f5b47723e485395cec30645acbe0e2bafba9 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 7 Feb 2022 13:10:53 +0100 Subject: [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. --- src/panels/places/placespanel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/panels/places/placespanel.h') 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(); -- cgit v1.3.1