mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Fix syncing folder with nothing in it
Do the start after connecting, as the finish may be imediate if there is nothing to do.
This commit is contained in:
parent
bdc39f9cc2
commit
f0a1ac4346
1 changed files with 1 additions and 1 deletions
|
@ -881,10 +881,10 @@ void OwncloudPropagator::start(const SyncFileItemVector& _syncedItems)
|
|||
_rootJob->append(it);
|
||||
}
|
||||
|
||||
_rootJob->start();
|
||||
connect(_rootJob.data(), SIGNAL(completed(SyncFileItem)), this, SIGNAL(completed(SyncFileItem)));
|
||||
connect(_rootJob.data(), SIGNAL(progress(Progress::Kind,QString,quint64,quint64)), this, SIGNAL(progress(Progress::Kind,QString,quint64,quint64)));
|
||||
connect(_rootJob.data(), SIGNAL(finished(SyncFileItem::Status)), this, SIGNAL(finished()));
|
||||
_rootJob->start();
|
||||
}
|
||||
|
||||
void PropagateDirectory::proceedNext(SyncFileItem::Status status)
|
||||
|
|
Loading…
Reference in a new issue