mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 20:28:57 +03:00
SyncEngine: new aboutToPropagate signal
This commit is contained in:
parent
09e6207ce9
commit
54313338cd
2 changed files with 4 additions and 1 deletions
|
@ -537,6 +537,7 @@ void SyncEngine::slotUpdateFinished(int updateResult)
|
|||
}
|
||||
|
||||
// To announce the beginning of the sync
|
||||
emit aboutToPropagate(_syncedItems);
|
||||
emit transmissionProgress(_progressInfo);
|
||||
|
||||
if (!_hasFiles && !_syncedItems.isEmpty()) {
|
||||
|
|
|
@ -67,8 +67,10 @@ signals:
|
|||
void csyncWarning( const QString& );
|
||||
void csyncUnavailable();
|
||||
|
||||
// before actual syncing (after update+reconcile)
|
||||
// before actual syncing (after update+reconcile) for each item
|
||||
void syncItemDiscovered(const SyncFileItem&);
|
||||
// after the above signals. with the items that actually need propagating
|
||||
void aboutToPropagate(const SyncFileItemVector&);
|
||||
|
||||
// after each job (successful or not)
|
||||
void jobCompleted(const SyncFileItem&);
|
||||
|
|
Loading…
Reference in a new issue