Skip to content

Commit

Permalink
TodaysPlan WO Download
Browse files Browse the repository at this point in the history
... remove whitespaces from the generated filename
  • Loading branch information
Joern-R committed Nov 1, 2017
1 parent 684b445 commit 5e6a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Train/TodaysPlanWorkoutDownload.cpp
Expand Up @@ -262,7 +262,7 @@ TodaysPlanWorkoutDownload::downloadFiles()
QString filename;
ErgFile *p = ErgFile::fromContent(content, context);
if (p->Filename != "") {
filename = workoutDir + "/TP-" + p->Filename.replace("/", "-");
filename = workoutDir + "/TP-" + p->Filename.replace("/", "-").simplified();
} else {
filename = workoutDir + "/TP-Workout-" + current->text(1).replace(" ", "_") + ".erg";
}
Expand Down

0 comments on commit 5e6a6e8

Please sign in to comment.