┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinremoveaction.h
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2017-07-19 00:00:37 +0200
committerElvis Angelaccio <[email protected]>2017-07-27 16:15:03 +0200
commit4b5ea05b6760e9020ab87f1d90071e1a2a8f9e99 (patch)
treed1c87653f2ebaecdf0cb5b110b24a7242f4cc3d6 /src/dolphinremoveaction.h
parent82b2dbd3ec568a6e6fe01a8e75739b25cae25f15 (diff)
Port to KStandardAction::MoveToTrash
It was introduced in kconfig(widgets) 5.25. Using the standard action results in less code and no need to hardcode the Del shortcut. Test Plan: - Change shortcut in System Settings -> Shortcuts -> Standard Shortcuts - Make sure the new shortcut is used by dolphin. Differential Revision: https://phabricator.kde.org/D6778
Diffstat (limited to 'src/dolphinremoveaction.h')
-rw-r--r--src/dolphinremoveaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinremoveaction.h b/src/dolphinremoveaction.h
index fd8fc35d6..f9a1b98be 100644
--- a/src/dolphinremoveaction.h
+++ b/src/dolphinremoveaction.h
@@ -31,7 +31,7 @@
* A QAction that manages the delete based on the current state of
* the Shift key or the parameter passed to update.
*
- * This class expects the presence of both the "move_to_trash" and
+ * This class expects the presence of both the KStandardAction::MoveToTrash and
* KStandardAction::DeleteFile actions in @ref collection.
*/
class DOLPHIN_EXPORT DolphinRemoveAction : public QAction