]> cloud.milkyroute.net Git - dolphin.git/commit
Port to KStandardAction::MoveToTrash
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Tue, 18 Jul 2017 22:00:37 +0000 (00:00 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 27 Jul 2017 14:15:03 +0000 (16:15 +0200)
commit4b5ea05b6760e9020ab87f1d90071e1a2a8f9e99
treed1c87653f2ebaecdf0cb5b110b24a7242f4cc3d6
parent82b2dbd3ec568a6e6fe01a8e75739b25cae25f15
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/dolphincontextmenu.cpp
src/dolphinmainwindow.cpp
src/dolphinpart.cpp
src/dolphinpart.rc
src/dolphinremoveaction.cpp
src/dolphinremoveaction.h
src/dolphinui.rc
src/views/dolphinviewactionhandler.cpp