mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
Updater: Do not reset current task in finished signal (#5370)
This commit is contained in:
commit
b230645d53
|
|
@ -1160,8 +1160,6 @@ void PrismUpdaterApp::downloadReleasePage(const QString& api_url, int page)
|
|||
m_current_task.reset(download);
|
||||
connect(download.get(), &Net::Download::finished, this, [this]() {
|
||||
qDebug() << "Download" << m_current_task->getUid().toString() << "finished";
|
||||
m_current_task.reset();
|
||||
m_current_url = "";
|
||||
});
|
||||
|
||||
QCoreApplication::processEvents();
|
||||
|
|
|
|||
Loading…
Reference in a new issue