diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2014-05-15 21:36:01 +0400 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2014-05-15 21:36:01 +0400 |
commit | e1f8eb5aa5293a50e176a49c377f2dd1159cc66c (patch) | |
tree | 6a5ffb8d7a08cc14f9a0b826b7f83fb9beccd81d | |
parent | f40a054cb7e10f29d21c359c9d050a5a610dfcdc (diff) |
Another way to force a sync when choosing 'Keep files'
-rw-r--r-- | src/mirall/folder.cpp | 3 |
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 } |