mirror of
https://github.com/ioquake/launch.git
synced 2025-02-18 01:41:05 +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())
|
if (!isCancelled && networkReply->error())
|
||||||
{
|
{
|
||||||
ui->lblStatus->setText(networkReply->errorString());
|
ui->lblStatus->setText(networkReply->errorString());
|
||||||
|
networkReply->abort();
|
||||||
|
networkReply->deleteLater();
|
||||||
|
isCancelled = true;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
networkReply->deleteLater();
|
networkReply->deleteLater();
|
||||||
|
|
Loading…
Reference in a new issue