Port to KStandardAction::MoveToTrash
ClosedPublic

Authored by elvisangelaccio on Jul 19 2017, 8:23 AM.

Details

Summary

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.

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a subscriber: Konqueror. · View Herald TranscriptJul 19 2017, 8:23 AM
davidedmundson added inline comments.
src/dolphinpart.rc
2

if you change an rc file you need to update the version. Otherwise users with customised toolbars will have a broken entry.

src/dolphinui.rc
2

and here

src/dolphinpart.rc
2

Right, totally forgot to bump the version...

  • Bump kpartgui version
elvisangelaccio marked 2 inline comments as done.Jul 19 2017, 9:12 AM
davidedmundson accepted this revision.Jul 19 2017, 9:17 AM
This revision is now accepted and ready to land.Jul 19 2017, 9:17 AM
This revision was automatically updated to reflect the committed changes.