Time estimation: Use a consistent check for size dependence. #2328

Esse commit está contido em:
Christian Kamm
2015-01-30 09:17:15 +01:00
commit 7d68c628db
4 arquivos alterados com 21 adições e 14 exclusões
+1 -1
Ver Arquivo
@@ -496,7 +496,7 @@ int SyncEngine::treewalkFile( TREE_WALK_FILE *file, bool remote )
if (!item->_isDirectory) {
_progressInfo._totalFileCount++;
if (Progress::isSizeDependent(file->instruction)) {
if (Progress::isSizeDependent(item)) {
_progressInfo._totalSize += file->size;
}
} else if (file->instruction != CSYNC_INSTRUCTION_NONE) {