Skip to content
  • rk flx's avatar
    Refactor saveMode handling to use enums instead of ints · 63bc26c6
    rk flx authored
    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
    63bc26c6