libsync: Fix qWarning in SyncEngine::slotJobCompleted saying we cannot find the sync item when moving

We need to compare against the original file name, that's why it's there
This commit is contained in:
Olivier Goffart 2015-02-19 13:13:45 +01:00
parent 66fc8e9e27
commit e1871eb325

View file

@ -59,7 +59,7 @@ public:
}
friend bool operator==(const SyncFileItem& item1, const SyncFileItem& item2) {
return item1._file == item2._file;
return item1._originalFile == item2._originalFile;
}
friend bool operator<(const SyncFileItem& item1, const SyncFileItem& item2) {