Make autosave and backup files more configurable

Authored by rempt on Feb 18 2019, 10:36 AM.



All aspects of autosaving and backup files are now configurable:

  • Autosaves of unnamed files can now be made visible (the dot is omitted).
  • The number of backups kept can be set, the default is 1 again.
  • The location of backups can be chosen: same folder as the file, $HOME or the tempdir.
  • The suffix used for the backup file can be chosen. There is a validator to weed out potentially hazardous characters.


Diff Detail

R37 Krita
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
rempt created this revision.Feb 18 2019, 10:36 AM
Restricted Application added a project: Krita. · View Herald TranscriptFeb 18 2019, 10:36 AM
rempt requested review of this revision.Feb 18 2019, 10:36 AM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 18 2019, 4:08 PM
This revision was automatically updated to reflect the committed changes.