summaryrefslogtreecommitdiff
path: root/src/loot.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-11-24 22:19:23 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-24 22:19:23 -0500
commit70ee786102c8436c7f8f9e8a5d2ea71035d8d572 (patch)
tree365ddc562e5b3c2e52a7a4369608e23f79168f46 /src/loot.cpp
parentcd876a0f9ffd03c711812c2ade92836e5d6c0203 (diff)
changed loot report to webengine with markdown support
Diffstat (limited to 'src/loot.cpp')
-rw-r--r--src/loot.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/loot.cpp b/src/loot.cpp
index f0618b0b..5d75eeaa 100644
--- a/src/loot.cpp
+++ b/src/loot.cpp
@@ -67,7 +67,9 @@ Loot::Loot()
Loot::~Loot()
{
- m_thread->wait();
+ if (m_thread) {
+ m_thread->wait();
+ }
if (!m_outPath.isEmpty() && QFile::exists(m_outPath)) {
const auto r = shell::Delete(m_outPath);