From 6056202ead2cb80bebf4b9b07bd418c1a000bce3 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Wed, 31 Oct 2018 00:52:32 -0500 Subject: Fix crash when 7-zip fails to extract a file A thread is spun off to handle the extraction while the main thread handles the progress bar updates. Previously, a dialog was spawned in the thread when an error in 7-zip occurred. Now, the thread will terminate and pass the error message back to the main thread who will spawn the dialog. --- src/installationmanager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/installationmanager.h') diff --git a/src/installationmanager.h b/src/installationmanager.h index 5160d137..7c43b4e2 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -212,6 +212,7 @@ private: Archive *m_ArchiveHandler; QString m_CurrentFile; + QString m_ErrorMessage; QProgressDialog *m_InstallationProgress { nullptr }; int m_Progress; -- cgit v1.3.1