diff --git a/src/mirall/syncfileitem.h b/src/mirall/syncfileitem.h index 4ce515f4a..b2c521921 100644 --- a/src/mirall/syncfileitem.h +++ b/src/mirall/syncfileitem.h @@ -65,7 +65,10 @@ public: } QString destination() const { - return _instruction == CSYNC_INSTRUCTION_RENAME ? _renameTarget : _file; + if (!_renameTarget.isEmpty()) { + return _renameTarget; + } + return _file; } bool isEmpty() const {