Commit 7c3a5d87 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

change the logic

parent caf36588
......@@ -24,10 +24,10 @@ SynchronizeResourceJob::~SynchronizeResourceJob()
void SynchronizeResourceJob::start()
{
if (!mListResources.isEmpty()) {
QTimer::singleShot(0, this, &SynchronizeResourceJob::slotNextSync);
} else {
if (mListResources.isEmpty()) {
Q_EMIT synchronizationFinished();
} else {
QTimer::singleShot(0, this, &SynchronizeResourceJob::slotNextSync);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment