diff options
| author | Jin Liu <[email protected]> | 2024-02-17 11:14:46 +0000 |
|---|---|---|
| committer | Jin Liu <[email protected]> | 2024-02-17 11:14:46 +0000 |
| commit | c9c3531c0b6da07de8f90761a3d799ace62f8e89 (patch) | |
| tree | e03fa5263d491c31cabf3cad429adf2297f768d2 /src/dolphintabwidget.h | |
| parent | cda139ccab2c78ac71a9f2aad286cbe1ace46734 (diff) | |
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
Diffstat (limited to 'src/dolphintabwidget.h')
| -rw-r--r-- | src/dolphintabwidget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index 22f65b634..a28a6bea1 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -209,6 +209,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. */ |
