Fix crash when canceling wizard after patch download is complete.

This commit is contained in:
Jonathan Young 2014-05-13 15:29:54 +10:00
parent 82854ab6e9
commit 7c5306c507

View file

@ -54,7 +54,10 @@ void InstallWizard_Patch::cancel()
delete patchFile;
patchFile = NULL;
if (!isDownloadFinished)
networkReply->abort();
isCancelled = true;
}