Skip to content
Commit 63bc26c6 authored by rk flx's avatar rk flx
Browse files

Refactor saveMode handling to use enums instead of ints

Summary:
Things like `case 0` make it really hard to work with the code and
having access to the current state of the {nav Save} button is needed
for a subsequent patch.

Test Plan: Spectacle still remembers the last used save state, defaults work too.

Reviewers: #spectacle, ngraham

Reviewed By: #spectacle, ngraham

Subscribers: ngraham

Differential Revision: https://phabricator.kde.org/D10467
parent 6742051c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment