summaryrefslogtreecommitdiffstats
path: root/logic/net
diff options
context:
space:
mode:
Diffstat (limited to 'logic/net')
-rw-r--r--logic/net/NetJob.cpp3
-rw-r--r--logic/net/NetJob.h2
2 files changed, 3 insertions, 2 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()
diff --git a/logic/net/NetJob.h b/logic/net/NetJob.h
index 30ae609a..0d8b7fbd 100644
--- a/logic/net/NetJob.h
+++ b/logic/net/NetJob.h
@@ -83,7 +83,7 @@ public:
}
QStringList getFailedFiles();
-private:
+private slots:
void startMoreParts();
signals: