mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
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:
parent
66fc8e9e27
commit
e1871eb325
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue