Changed: Sleep 1 second after copying files (because to some disk cache)
This commit is contained in:
parent
2625225120
commit
cd9a3c35c4
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue