2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

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

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;