Fix crash while downloading favicons

This commit is contained in:
ADD-SP 2021-11-05 12:57:16 +08:00 committed by Jonathan White
parent c37e2d3d69
commit e5065a01c8

View File

@ -191,7 +191,7 @@ void IconDownloaderDialog::updateTable(const QString& url, const QString& messag
void IconDownloaderDialog::abortDownloads()
{
for (auto* downloader : m_activeDownloaders) {
delete downloader;
downloader->deleteLater();
}
m_activeDownloaders.clear();
updateProgressBar();