mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Beta version 2.8.12: Prune icon cache on Linux.
This commit is contained in:
parent
0a545589ce
commit
245909e381
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue