summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-10-31 00:52:32 -0500
committerLostDragonist <lost.dragonist@gmail.com>2018-10-31 00:52:32 -0500
commit6056202ead2cb80bebf4b9b07bd418c1a000bce3 (patch)
treeb4505d7fc41992bdfc9e60bb36f590bd9fba6c4c /src/installationmanager.h
parentc1d90b131b72d4f756a70cd4b6faf766c9a11c82 (diff)
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.
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h1
1 files changed, 1 insertions, 0 deletions
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;