mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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");
|
const auto icon = icons + kIconName.utf16() + qsl(".png");
|
||||||
auto iconExists = QFile::exists(icon);
|
auto iconExists = QFile::exists(icon);
|
||||||
if (Local::oldSettingsVersion() < 10021 && iconExists) {
|
if (Local::oldSettingsVersion() < 2008012 && iconExists) {
|
||||||
// Icon was changed.
|
// Icon was changed.
|
||||||
if (QFile::remove(icon)) {
|
if (QFile::remove(icon)) {
|
||||||
iconExists = false;
|
iconExists = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue