Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-05-15 21:36:01 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-05-15 21:36:01 +0400
commite1f8eb5aa5293a50e176a49c377f2dd1159cc66c (patch)
tree6a5ffb8d7a08cc14f9a0b826b7f83fb9beccd81d
parentf40a054cb7e10f29d21c359c9d050a5a610dfcdc (diff)
Another way to force a sync when choosing 'Keep files'
-rw-r--r--src/mirall/folder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp
index fd9d85a0e..91bbbf8e6 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
}