[Pkg-owncloud-commits] [owncloud-client] 63/70: Another way to force a sync when choosing 'Keep files'
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat May 17 20:01:31 UTC 2014
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 e1f8eb5aa5293a50e176a49c377f2dd1159cc66c
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu May 15 19:36:01 2014 +0200
Another way to force a sync when choosing 'Keep files'
---
src/mirall/folder.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index fd9d85a..91bbbf8 100644
--- a/src/mirall/folder.cpp
+++ b/src/mirall/folder.cpp
@@ -689,6 +689,9 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction direction, bool *
*cancel = msgBox.clickedButton() == keepBtn;
if (*cancel) {
wipe();
+ // speed up next sync
+ _lastEtag = QString();
+ QTimer::singleShot(50, this, SLOT(slotPollTimerTimeout()));
}
#endif
}
--
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