[Pkg-owncloud-commits] [owncloud-client] 33/164: libsync: Fix qWarning in SyncEngine::slotJobCompleted saying we cannot find the sync item when moving
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sun Mar 22 11:56:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit e1871eb325b38b7196aa433befc308c16dde47ae
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Feb 19 13:13:45 2015 +0100
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
---
src/libsync/syncfileitem.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libsync/syncfileitem.h b/src/libsync/syncfileitem.h
index 9c8e25f..d189639 100644
--- a/src/libsync/syncfileitem.h
+++ b/src/libsync/syncfileitem.h
@@ -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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list