diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-03-27 02:03:14 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-03-27 02:03:14 +0100 |
commit | eae544f0ebc26a2b103091b93d4f7c4188d00cff (patch) | |
tree | f8aa03bd0cdc877d87e674a93141facff939767e /logic/net/NetJob.cpp | |
parent | 2eb3ec39bfd13e4bcc29655ea41326b4462d938d (diff) | |
download | MultiMC-eae544f0ebc26a2b103091b93d4f7c4188d00cff.tar MultiMC-eae544f0ebc26a2b103091b93d4f7c4188d00cff.tar.gz MultiMC-eae544f0ebc26a2b103091b93d4f7c4188d00cff.tar.lz MultiMC-eae544f0ebc26a2b103091b93d4f7c4188d00cff.tar.xz MultiMC-eae544f0ebc26a2b103091b93d4f7c4188d00cff.zip |
GH-841 fix for modpack downloads on windows
Diffstat (limited to 'logic/net/NetJob.cpp')
-rw-r--r-- | logic/net/NetJob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/net/NetJob.cpp b/logic/net/NetJob.cpp index 6d10db48..85892581 100644 --- a/logic/net/NetJob.cpp +++ b/logic/net/NetJob.cpp @@ -73,7 +73,8 @@ void NetJob::start() { m_todo.enqueue(i); } - startMoreParts(); + // hack that delays early failures so they can be caught easier + QMetaObject::invokeMethod(this, "startMoreParts", Qt::QueuedConnection); } void NetJob::startMoreParts() |