Changed: Sleep 1 second after copying files (because to some disk cache)

This commit is contained in:
kervala 2016-11-03 14:44:01 +01:00
parent 24511485d0
commit 26478a5497

View file

@ -194,6 +194,9 @@ bool CFilesCopier::copyFiles(const FilesToCopy &files)
processedSize += file.size; processedSize += file.size;
} }
// wait 1 second to be sure all files have been copied (because to disk cache)
QThread::sleep(1);
if (m_listener) if (m_listener)
{ {
m_listener->operationSuccess(totalSize); m_listener->operationSuccess(totalSize);