Improve readability of saving glue code

Authored by rkflx on May 31 2018, 9:00 AM.

Description

Improve readability of saving glue code

Summary:
Instead of two calls to doSave* with different boolean values, we can
simply pass the bool directly. This makes the code easier to understand.

Test Plan:
Save and Save As should work as before with any state of
Quit after Save or Copy.

Reviewers: Spectacle, ngraham

Reviewed By: Spectacle, ngraham

Subscribers: ngraham

Differential Revision: https://phabricator.kde.org/D13244

Details

Committed
rkflxJun 8 2018, 12:39 PM
Reviewer
Spectacle
Differential Revision
D13244: Improve readability of saving glue code
Parents
R166:1612995b5403: Allow saving screenshots in custom auto-generated subdirectories
Branches
Unknown
Tags
Unknown