Beta version 2.8.12: Prune icon cache on Linux.

This commit is contained in:
John Preston 2021-07-23 19:39:31 +03:00
parent 0a545589ce
commit 245909e381
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ void InstallLauncher(bool force) {
const auto icon = icons + kIconName.utf16() + qsl(".png");
auto iconExists = QFile::exists(icon);
if (Local::oldSettingsVersion() < 10021 && iconExists) {
if (Local::oldSettingsVersion() < 2008012 && iconExists) {
// Icon was changed.
if (QFile::remove(icon)) {
iconExists = false;