fix:点击取消下载 仍然会有系统通知提示下载完毕

This commit is contained in:
2022-12-13 12:34:48 +08:00
parent ce8c058265
commit da2c019da0
6 changed files with 52 additions and 44 deletions

View File

@@ -125,7 +125,6 @@ void DownloadListWidget::httpFinished() // 完成下载
isBusy = false;
downloaditemlist[nowDownload - 1]->readyInstall();
downloaditemlist[nowDownload - 1]->free = true;
Utils::sendNotification("spark-store",tr("Spark Store"),tr("The download is complete. Please click the download button on the title Bar to open the download list for installation"));
emit downloadFinished();
if(nowDownload < allDownload)
{