diff options
author | allexzander <blackslayer4@gmail.com> | 2021-07-29 11:55:30 +0300 |
---|---|---|
committer | allexzander (Rebase PR Action) <allexzander@users.noreply.github.com> | 2021-07-30 09:21:05 +0300 |
commit | fc75b9452422cfc8e41ef48163191d7eda4fc0f3 (patch) | |
tree | b59049a63fea593a4b088203ca53f32309511f3d /src/common | |
parent | 71b2b73881589f75128d40e9cf04fa755b0ed409 (diff) |
Fix clang-tidy errors.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/filesystembase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/filesystembase.cpp b/src/common/filesystembase.cpp index 8dda0a9d4..57e67ffcd 100644 --- a/src/common/filesystembase.cpp +++ b/src/common/filesystembase.cpp @@ -395,13 +395,13 @@ bool FileSystem::moveToTrash(const QString &fileName, QString *errorString) suffix_number++; } if (!file.rename(f.absoluteFilePath(), path + QString::number(suffix_number))) { // rename(file old path, file trash path) - *errorString = QCoreApplication::translate("FileSystem", "Could not move \"%1\" to \"%1\"") + *errorString = QCoreApplication::translate("FileSystem", R"(Could not move "%1" to "%1")") .arg(f.absoluteFilePath(), path + QString::number(suffix_number)); return false; } } else { if (!file.rename(f.absoluteFilePath(), trashFilePath + f.fileName())) { // rename(file old path, file trash path) - *errorString = QCoreApplication::translate("FileSystem", "Could not move \"%1\" to \"%1\"") + *errorString = QCoreApplication::translate("FileSystem", R"(Could not move "%1" to "%1")") .arg(f.absoluteFilePath(), trashFilePath + f.fileName()); return false; } |