UI: Minor fix.

This commit is contained in:
Nodir Temirkhodjaev 2020-02-17 11:54:27 +05:00
parent 27a9367a1d
commit c5a9ef11ee

View File

@ -30,8 +30,6 @@ bool TaskInfoZoneDownloader::processResult(bool success)
if (!success)
return false;
removeOrphanCacheFiles();
fortManager()->showTrayMessage(tr("Zone Addresses Updated: %1.")
.arg(m_zoneNames.join(", ")));
return true;
@ -47,8 +45,6 @@ void TaskInfoZoneDownloader::loadZones()
addSubResult(&worker, false);
}
removeOrphanCacheFiles();
emitZonesUpdated();
}
@ -184,6 +180,8 @@ void TaskInfoZoneDownloader::emitZonesUpdated()
{
emit zonesUpdated(m_dataZonesMask, m_enabledMask, m_dataSize, m_zonesData);
removeOrphanCacheFiles();
clearSubResults();
}