From f7838146652f6dc77be96f2e984ff7c0ed239e68 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Date: Thu, 7 Sep 2023 10:35:15 -0300 Subject: [PATCH] Train library - add path to the list of possible errors It seems to be a common error, see #4393 --- src/Train/Library.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Train/Library.cpp b/src/Train/Library.cpp index 126fb8ac4..f5e5c00cd 100644 --- a/src/Train/Library.cpp +++ b/src/Train/Library.cpp @@ -181,7 +181,7 @@ Library::importFiles(Context *context, QStringList files, bool forcedialog) } else if (targetSync != QFileInfo(source).absoluteFilePath() && !source.copy(targetSync)) { QMessageBox::warning(NULL, tr("Copy VideoSync Failed"), - QString(tr("%1 cannot be written to videoSync library %2, check permissions and free space")).arg(QFileInfo(targetSync).fileName()).arg(videosyncDir)); + QString(tr("%1 cannot be written to videoSync library %2. Check library path, permissions and free space")).arg(QFileInfo(targetSync).fileName()).arg(videosyncDir)); } // still add it, it may not have been scanned @@ -219,7 +219,7 @@ Library::importFiles(Context *context, QStringList files, bool forcedialog) } else if (targetWorkout != QFileInfo(source).absoluteFilePath() && !source.copy(targetWorkout)) { QMessageBox::warning(NULL, tr("Copy Workout Failed"), - QString(tr("%1 cannot be written to workout library %2, check permissions and free space")).arg(QFileInfo(targetWorkout).fileName()).arg(workoutDir)); + QString(tr("%1 cannot be written to workout library %2. Check library path, permissions and free space")).arg(QFileInfo(targetWorkout).fileName()).arg(workoutDir)); } }