Simplify saveShortcuts and saveFavorites
ClosedPublic

Authored by tcanabrava on Jun 14 2018, 2:38 PM.

Details

Summary

Great part of the code inside saveShortcuts and saveFavorites
is similar, extract it to a new function and call it.

Test Plan

Edited shortcuts, saved, saves where correct.

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tcanabrava created this revision.Jun 14 2018, 2:38 PM
Restricted Application added a project: Konsole. · View Herald TranscriptJun 14 2018, 2:38 PM
Restricted Application added a subscriber: konsole-devel. · View Herald Transcript
tcanabrava requested review of this revision.Jun 14 2018, 2:38 PM
tcanabrava edited the test plan for this revision. (Show Details)Jun 14 2018, 2:39 PM
tcanabrava added reviewers: hindenburg, Konsole.
hindenburg accepted this revision.Jun 16 2018, 6:26 PM

Thanks, if there's only one commit I'll go ahead and land them.

This revision is now accepted and ready to land.Jun 16 2018, 6:26 PM
This revision was automatically updated to reflect the committed changes.