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

--HG--
branch : develop
This commit is contained in:
kervala 2016-11-03 14:44:01 +01:00
parent ee2d17c24b
commit 11e9a7ea81

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);