diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-01-11 22:04:31 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-01-11 22:04:31 +0100 |
commit | 0886786bb56e1ebfb53716127fd3ff0366e9a9f3 (patch) | |
tree | 4c65561d1e3b394a834e69a77df1243bd2d2c5f1 /gui/MainWindow.cpp | |
parent | 1151037f968628cd659f06457f9ca7403f77f071 (diff) | |
download | MultiMC-0886786bb56e1ebfb53716127fd3ff0366e9a9f3.tar MultiMC-0886786bb56e1ebfb53716127fd3ff0366e9a9f3.tar.gz MultiMC-0886786bb56e1ebfb53716127fd3ff0366e9a9f3.tar.lz MultiMC-0886786bb56e1ebfb53716127fd3ff0366e9a9f3.tar.xz MultiMC-0886786bb56e1ebfb53716127fd3ff0366e9a9f3.zip |
GH-721 Redo internal NetJob implementation.
NetJob is now using its own task queue and does not start more than 6 actions at the same time
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r-- | gui/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 43e8b6c0..7df3ac0e 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -297,7 +297,9 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi connect(job, SIGNAL(succeeded()), SLOT(skinJobFinished())); connect(job, SIGNAL(failed()), SLOT(skinJobFinished())); for (auto action : skin_dls) + { job->addNetAction(action); + } skin_download_job.reset(job); job->start(); } |