mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Updater: Do not reset current task in finished signal (#5370)
This commit is contained in:
commit
b230645d53
1 changed files with 0 additions and 2 deletions
|
|
@ -1160,8 +1160,6 @@ void PrismUpdaterApp::downloadReleasePage(const QString& api_url, int page)
|
||||||
m_current_task.reset(download);
|
m_current_task.reset(download);
|
||||||
connect(download.get(), &Net::Download::finished, this, [this]() {
|
connect(download.get(), &Net::Download::finished, this, [this]() {
|
||||||
qDebug() << "Download" << m_current_task->getUid().toString() << "finished";
|
qDebug() << "Download" << m_current_task->getUid().toString() << "finished";
|
||||||
m_current_task.reset();
|
|
||||||
m_current_url = "";
|
|
||||||
});
|
});
|
||||||
|
|
||||||
QCoreApplication::processEvents();
|
QCoreApplication::processEvents();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue