From c9c3531c0b6da07de8f90761a3d799ace62f8e89 Mon Sep 17 00:00:00 2001 From: Jin Liu Date: Sat, 17 Feb 2024 11:14:46 +0000 Subject: Improve DnD handling in read-only dirs 1. Places panel and tabbar update drag status in read-only dir 2. Don't create drop job in readonly directories --- src/dolphintabwidget.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphintabwidget.h') diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index 22f65b634..a28a6bea1 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -208,6 +208,12 @@ private Q_SLOTS: */ void openNewActivatedTab(int index); + /** + * Is connected to the KTabBar signal receivedDragMoveEvent. + * Allows dragging and dropping files onto tabs. + */ + void tabDragMoveEvent(int tab, QDragMoveEvent *event); + /** * Is connected to the KTabBar signal receivedDropEvent. * Allows dragging and dropping files onto tabs. -- cgit v1.3