New dialog for recoversing named autosaves (autosaves for existing files)
I created a new dialog for recoversing named autosaves (autosaves for existing files)
Test Plan
- Run Krita from console.
- Create a new file, save it.
- Make a few more changes.
- Wait for autosave to be triggered.
- Close Krita with ctrl+C in the command line.
- Open Krita.
- Try to open the saved file. You'll see the dialog. Press "Cancel". It will close the dialog and do nothing.
- Try to open the saved file. You'll see the dialog. Press "OK". It will open the autosaved file (with changes you made in point 3.).
- Close Krita with ctrl+C in the command line. Open it again.
- Try to open the saved file. You'll see the dialog. Select "Discard autosave, open main file". Press "OK". It will open the file without the new changes you made in point 3.
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.