mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Beta version 2.8.12: Prune icon cache on Linux.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user