From cd9abbcaae3fed0cfd5b4d4165fab8689b3dda2b Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 22 Sep 2016 11:38:32 +0200 Subject: [PATCH] Fixed: Stalling interface when an error occurs when downloading, see #279 --HG-- branch : develop --- .../tools/client/ryzom_installer/src/operationdialog.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 583b3ec03..8d7aa5672 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -492,6 +492,13 @@ void COperationDialog::onProgressSuccess(qint64 total) void COperationDialog::onProgressFail(const QString &error) { QMessageBox::critical(this, tr("Error"), error); + + { + QMutexLocker locker(&m_abortingMutex); + m_aborting = true; + } + + processNextStep(); } void COperationDialog::onDone()