summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-09-08 20:16:38 +0200
committerPetr Mrázek <peterix@gmail.com>2013-09-08 20:16:38 +0200
commit8062b73074b8e3c94fd97b77b05e7dbb61205d41 (patch)
tree263307d43b01ea2cfce49904b0da076bf34ce98e
parentcffdc4e045d4e72376d83c30ad063c290b071d62 (diff)
downloadMultiMC-8062b73074b8e3c94fd97b77b05e7dbb61205d41.tar
MultiMC-8062b73074b8e3c94fd97b77b05e7dbb61205d41.tar.gz
MultiMC-8062b73074b8e3c94fd97b77b05e7dbb61205d41.tar.lz
MultiMC-8062b73074b8e3c94fd97b77b05e7dbb61205d41.tar.xz
MultiMC-8062b73074b8e3c94fd97b77b05e7dbb61205d41.zip
Fix one more legacy update bug
-rw-r--r--logic/LegacyUpdate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/LegacyUpdate.cpp b/logic/LegacyUpdate.cpp
index 7bf12faa..b8e179a5 100644
--- a/logic/LegacyUpdate.cpp
+++ b/logic/LegacyUpdate.cpp
@@ -230,9 +230,9 @@ void LegacyUpdate::jarStart()
auto dljob = new DownloadJob("Minecraft.jar for version " + intended_version_id);
dljob->add(QUrl(urlstr), inst->defaultBaseJar());
legacyDownloadJob.reset(dljob);
- connect(legacyDownloadJob.data(), SIGNAL(finished()), SLOT(jarFinished()));
- connect(legacyDownloadJob.data(), SIGNAL(failed()), SLOT(jarFailed()));
- connect(legacyDownloadJob.data(), SIGNAL(progress(qint64,qint64)), SLOT(updateDownloadProgress(qint64,qint64)));
+ connect(dljob, SIGNAL(succeeded()), SLOT(jarFinished()));
+ connect(dljob, SIGNAL(failed()), SLOT(jarFailed()));
+ connect(dljob, SIGNAL(progress(qint64,qint64)), SLOT(updateDownloadProgress(qint64,qint64)));
legacyDownloadJob->start();
}