diff options
author | Erik Verbruggen <erik@verbruggen.consulting> | 2022-02-17 14:31:23 +0300 |
---|---|---|
committer | Fabian Müller <80399010+fmoc@users.noreply.github.com> | 2022-02-17 19:16:55 +0300 |
commit | 1920323a8da5753abc602a574eed7a5cfea384d8 (patch) | |
tree | d868eb701053d57fa22cb30c4be4d4d67052d940 | |
parent | 9f3ed0ce434824053d9555477d277e4694de63e9 (diff) |
Bugfix: mention source file in activity tab when renaming
Fixed: https://github.com/owncloud/client/issues/9238
-rw-r--r-- | changelog/unreleased/9238 | 4 | ||||
-rw-r--r-- | src/libsync/progressdispatcher.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/changelog/unreleased/9238 b/changelog/unreleased/9238 new file mode 100644 index 000000000..9558e5688 --- /dev/null +++ b/changelog/unreleased/9238 @@ -0,0 +1,4 @@ +Bugfix: mention source file in activity tab when renaming + +https://github.com/owncloud/client/issues/9238 +https://github.com/owncloud/client/pull/9453 diff --git a/src/libsync/progressdispatcher.cpp b/src/libsync/progressdispatcher.cpp index c08938966..d12dec6ab 100644 --- a/src/libsync/progressdispatcher.cpp +++ b/src/libsync/progressdispatcher.cpp @@ -45,7 +45,7 @@ QString Progress::asResultString(const SyncFileItem &item) return QCoreApplication::translate("progress", "Deleted"); case CSYNC_INSTRUCTION_EVAL_RENAME: case CSYNC_INSTRUCTION_RENAME: - return QCoreApplication::translate("progress", "Moved to %1").arg(item._renameTarget); + return QCoreApplication::translate("progress", "%1 moved to %2").arg(item._file, item._renameTarget); case CSYNC_INSTRUCTION_IGNORE: return QCoreApplication::translate("progress", "Ignored"); case CSYNC_INSTRUCTION_STAT_ERROR: |