mirror of
https://github.com/ioquake/launch.git
synced 2024-11-10 06:31:39 +00:00
Fix hang if patch download fails.
This commit is contained in:
parent
c9f1422f4a
commit
48d13fb321
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ void InstallWizard_Patch::downloadFinished()
|
|||
if (!isCancelled && networkReply->error())
|
||||
{
|
||||
ui->lblStatus->setText(networkReply->errorString());
|
||||
networkReply->abort();
|
||||
networkReply->deleteLater();
|
||||
isCancelled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
networkReply->deleteLater();
|
||||
|
|
Loading…
Reference in a new issue