mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
Fixed: Stalling interface when an error occurs when downloading, see #279
This commit is contained in:
parent
f3e8165f02
commit
8bf4b4cdb0
1 changed files with 7 additions and 0 deletions
|
@ -492,6 +492,13 @@ void COperationDialog::onProgressSuccess(qint64 total)
|
||||||
void COperationDialog::onProgressFail(const QString &error)
|
void COperationDialog::onProgressFail(const QString &error)
|
||||||
{
|
{
|
||||||
QMessageBox::critical(this, tr("Error"), error);
|
QMessageBox::critical(this, tr("Error"), error);
|
||||||
|
|
||||||
|
{
|
||||||
|
QMutexLocker locker(&m_abortingMutex);
|
||||||
|
m_aborting = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
processNextStep();
|
||||||
}
|
}
|
||||||
|
|
||||||
void COperationDialog::onDone()
|
void COperationDialog::onDone()
|
||||||
|
|
Loading…
Reference in a new issue