mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Athlete Subdirs - improvements
.. added /BAK subdir where all actvities .BAK files are stored .. do not delete any original files in /imports /downloads when deleting activity .. copy deleted activity .JSON as .BAK into /BAK subfolder .. adjust upgrade procedure to copy .BAK files to /BAK
This commit is contained in:
@@ -402,7 +402,7 @@ SplitActivityWizard::setFilesList()
|
||||
QString
|
||||
SplitActivityWizard::hasBackup(QString filename)
|
||||
{
|
||||
QString backupFilename = context->athlete->home->activities().canonicalPath() + "/" + filename + ".bak";
|
||||
QString backupFilename = context->athlete->home->fileBackup().canonicalPath() + "/" + filename + ".bak";
|
||||
|
||||
if (QFile(backupFilename).exists()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user