diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-05-14 14:20:24 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-05-14 14:20:24 +0300 |
commit | ffcc58cb3e89c502cfc12183d091dd9719ab436c (patch) | |
tree | f247a5b6d21cf71ea46782286fadde926db61d84 /launcher/launch | |
parent | ef6cbdfa2ade6a5f1ccb7253c1647ce1e9d5442d (diff) | |
parent | d5c6a1b4d1e6d052e42366d19ffa0047168e030d (diff) | |
download | PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.tar.gz PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.tar.bz2 PrismLauncher-ffcc58cb3e89c502cfc12183d091dd9719ab436c.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'launcher/launch')
-rw-r--r-- | launcher/launch/steps/Update.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/launcher/launch/steps/Update.cpp b/launcher/launch/steps/Update.cpp index 28bd153d..77c8a18e 100644 --- a/launcher/launch/steps/Update.cpp +++ b/launcher/launch/steps/Update.cpp @@ -26,9 +26,11 @@ void Update::executeTask() m_updateTask.reset(m_parent->instance()->createUpdateTask(m_mode)); if(m_updateTask) { - connect(m_updateTask.get(), SIGNAL(finished()), this, SLOT(updateFinished())); - connect(m_updateTask.get(), &Task::progress, this, &Task::setProgress); - connect(m_updateTask.get(), &Task::status, this, &Task::setStatus); + connect(m_updateTask.get(), &Task::finished, this, &Update::updateFinished); + connect(m_updateTask.get(), &Task::progress, this, &Update::setProgress); + connect(m_updateTask.get(), &Task::stepProgress, this, &Update::propogateStepProgress); + connect(m_updateTask.get(), &Task::status, this, &Update::setStatus); + connect(m_updateTask.get(), &Task::details, this, &Update::setDetails); emit progressReportingRequest(); return; } |