diff --git a/CMakeLists.txt b/CMakeLists.txt index 17b2876..75ff0f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer") set(META_GUI_OPTIONAL false) set(META_VERSION_MAJOR 0) set(META_VERSION_MINOR 8) -set(META_VERSION_PATCH 1) +set(META_VERSION_PATCH 2) set(META_VERSION_EXACT_SONAME ON) project(${META_PROJECT_NAME}) diff --git a/connector/syncthingconnection.cpp b/connector/syncthingconnection.cpp index f66e2e4..136b913 100644 --- a/connector/syncthingconnection.cpp +++ b/connector/syncthingconnection.cpp @@ -1905,7 +1905,8 @@ void SyncthingConnection::readLocalFolderCompletion(DateTime eventTime, const QJ dirInfo.lastStatisticsUpdate = eventTime; dirInfo.completionPercentage = globalStats.bytes ? static_cast((globalStats.bytes - neededStats.bytes) * 100 / globalStats.bytes) : 100; emit dirStatusChanged(dirInfo, index); - if (neededStats.isNull() && previouslyUpdated && (neededStats != previouslyNeeded || globalStats != previouslyGlobal)) { + if (neededStats.isNull() && previouslyUpdated && (neededStats != previouslyNeeded || globalStats != previouslyGlobal) + && dirInfo.status != SyncthingDirStatus::Scanning) { emit dirCompleted(eventTime, dirInfo, index); } }