Simplify previous-/nextActivity code in kactivities-cli
ClosedPublic

Authored by muesli on Jul 10 2019, 10:13 AM.

Details

Summary

Removed unnecessary bool found and directly return from inner loop.

Diff Detail

Repository
R6 KActivities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
muesli created this revision.Jul 10 2019, 10:13 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJul 10 2019, 10:13 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
muesli requested review of this revision.Jul 10 2019, 10:13 AM
davidedmundson accepted this revision.Jul 10 2019, 10:36 AM
This revision is now accepted and ready to land.Jul 10 2019, 10:36 AM
apol accepted this revision.Jul 10 2019, 10:38 AM
This revision was automatically updated to reflect the committed changes.