Remove redundant delay

This commit is contained in:
Floris Bos 2020-07-21 15:10:25 +02:00
parent 7e4f5c9045
commit 064f0c3361

View file

@ -155,10 +155,6 @@ bool DownloadThread::_openAndPrepareDevice()
} }
} }
qDebug() << "sleeping to let Windows discovers there are no partitions";
sleep(2);
qDebug() << "done sleeping";
if (!driveLetter.isEmpty()) if (!driveLetter.isEmpty())
{ {
_volumeFile.setFileName("\\\\.\\"+driveLetter); _volumeFile.setFileName("\\\\.\\"+driveLetter);