From 4b5ea05b6760e9020ab87f1d90071e1a2a8f9e99 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Wed, 19 Jul 2017 00:00:37 +0200 Subject: 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 --- src/dolphinremoveaction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinremoveaction.h') 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 -- cgit v1.3