diff options
| author | Elvis Angelaccio <[email protected]> | 2017-03-10 19:31:33 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-03-13 19:40:07 +0100 |
| commit | 68bb0ec22af0290d298a87a15006f888b0aaf3b9 (patch) | |
| tree | 39ac14dadede61bc47b1024a962e2db790ca7a3a /src/dolphinremoveaction.h | |
| parent | 042b0c84099c062847fa2ed46a145624a96f90ca (diff) | |
Port to KStandardAction::DeleteFile
Summary:
It was introduced in kconfig 5.25 and it properly handles the shift+del
shortcut (together with kxmlgui >= 5.30). This allows us to drop the
custom delete shortcut as well as the shift+del workaround in
DolphinMainWindow.
Test Plan: Shift+Del still deletes files, without the 'ambiguous shortcut' warning dialog.
Reviewers: emmanuelp
Differential Revision: https://phabricator.kde.org/D5010
Diffstat (limited to 'src/dolphinremoveaction.h')
| -rw-r--r-- | src/dolphinremoveaction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinremoveaction.h b/src/dolphinremoveaction.h index 85f404318..fd8fc35d6 100644 --- a/src/dolphinremoveaction.h +++ b/src/dolphinremoveaction.h @@ -31,8 +31,8 @@ * 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 "delete" - * actions in @ref collection. + * This class expects the presence of both the "move_to_trash" and + * KStandardAction::DeleteFile actions in @ref collection. */ class DOLPHIN_EXPORT DolphinRemoveAction : public QAction { |
