Currently, in master, when saving over an old preset, the new preset is saved to presetNameGBLGK.kpp with the help of QTemporaryFile, and the oldpreset is blacklisted.
This patch does two things.
- The new preset will be saved using an unmodified name, while the old preset is given the new file name and blacklisted. This means that the latest version of the preset is always named presetName.kpp
- The renamed filename is turned into presetName_backup_datetimestamp.kpp
These two things should make making presets a lot more user-friendly. This fixes https://bugs.kde.org/show_bug.cgi?id=330251