GH-841 fix for modpack downloads on windows

This commit is contained in:
Petr Mrázek
2015-03-27 02:03:14 +01:00
parent 2eb3ec39bf
commit eae544f0eb
3 changed files with 5 additions and 3 deletions

View File

@ -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()

View File

@ -83,7 +83,7 @@ public:
}
QStringList getFailedFiles();
private:
private slots:
void startMoreParts();
signals: