Index: src/libchengine/TSubTaskDelete.cpp =================================================================== diff -u -N -r0d5b67ee96b435d63f7bf075dc8e28603793b187 -r85b07e753393f661f7d8f528e4238ebb6e9e1204 --- src/libchengine/TSubTaskDelete.cpp (.../TSubTaskDelete.cpp) (revision 0d5b67ee96b435d63f7bf075dc8e28603793b187) +++ src/libchengine/TSubTaskDelete.cpp (.../TSubTaskDelete.cpp) (revision 85b07e753393f661f7d8f528e4238ebb6e9e1204) @@ -60,7 +60,7 @@ { TFileInfoArray& rFilesCache = GetContext().GetFilesCache(); - file_count_t fcCount = rFilesCache.GetSize(); + file_count_t fcCount = rFilesCache.GetCount(); if(fcCount == 0) { m_tSubTaskStats.SetCurrentPath(TString()); @@ -92,7 +92,7 @@ // new stats m_tSubTaskStats.SetCurrentBufferIndex(TBufferSizes::eBuffer_Default); - m_tSubTaskStats.SetTotalCount(rFilesCache.GetSize()); + m_tSubTaskStats.SetTotalCount(rFilesCache.GetCount()); m_tSubTaskStats.SetProcessedCount(0); m_tSubTaskStats.SetTotalSize(0); m_tSubTaskStats.SetProcessedSize(0); @@ -104,9 +104,9 @@ // index points to 0 or next item to process file_count_t fcIndex = m_tSubTaskStats.GetCurrentIndex(); - while (fcIndex < rFilesCache.GetSize()) + while (fcIndex < rFilesCache.GetCount()) { - spFileInfo = rFilesCache.GetAt(rFilesCache.GetSize() - fcIndex - 1); + spFileInfo = rFilesCache.GetAt(rFilesCache.GetCount() - fcIndex - 1); m_tSubTaskStats.SetCurrentIndex(fcIndex); @@ -156,7 +156,7 @@ // if this subtask is not started yet, try to get the most fresh information for processing if (!spStats->IsRunning() && spStats->GetTotalCount() == 0 && spStats->GetTotalSize() == 0) { - spStats->SetTotalCount(GetContext().GetFilesCache().GetSize()); + spStats->SetTotalCount(GetContext().GetFilesCache().GetCount()); spStats->SetTotalSize(0); } }