diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-05-14 14:20:04 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-05-14 14:20:04 +0300 |
commit | 8c7fd3327ecfb31fde4ae843a5d66e0ef29026ff (patch) | |
tree | b48975200ce3eee6c5dbf1070c71b8d71ece1ffb /launcher/launch/steps/Update.cpp | |
parent | e4449a0ba32593b4fd76e3f2ced176e5b3bbd952 (diff) | |
parent | d5c6a1b4d1e6d052e42366d19ffa0047168e030d (diff) | |
download | PrismLauncher-8c7fd3327ecfb31fde4ae843a5d66e0ef29026ff.tar.gz PrismLauncher-8c7fd3327ecfb31fde4ae843a5d66e0ef29026ff.tar.bz2 PrismLauncher-8c7fd3327ecfb31fde4ae843a5d66e0ef29026ff.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into Fix_Assert
Diffstat (limited to 'launcher/launch/steps/Update.cpp')
-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; } |