Modernize the syntax of shortcuts
ClosedPublic

Authored by rominf on Mar 3 2018, 8:47 AM.

Details

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.
rominf requested review of this revision.Mar 3 2018, 8:47 AM
rominf created this revision.
elvisangelaccio added inline comments.
src/dolphinmainwindow.cpp
1052

I'd actually prefer to get rid of harcoded shortcuts where possible. For example here we should use whatever default shortcut the user set in systemsettings for the New action, rather than manually hardcoding CTRL+N.

markg accepted this revision.Mar 3 2018, 12:18 PM
markg added a subscriber: markg.

Ha, funny. I didn't even know there was an old syntax for this. I've always used the + syntax.
I ran it and it seems to be working just fine (just tested a few shortcuts, not all).

src/dolphinmainwindow.cpp
1052

I agree, but this commit seems focused on refactoring to this + format style. Lets keep the global system defined shortcuts for another commit.

This revision is now accepted and ready to land.Mar 3 2018, 12:18 PM
rominf marked 2 inline comments as done.Mar 3 2018, 1:43 PM
This revision was automatically updated to reflect the committed changes.