mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use kIconName on icon creating
This commit is contained in:
@@ -1139,7 +1139,7 @@ void InstallLauncher(bool force) {
|
||||
|
||||
if (!QDir(icons).exists()) QDir().mkpath(icons);
|
||||
|
||||
const auto icon = icons + qsl("telegram.png");
|
||||
const auto icon = icons + kIconName.utf16() + qsl(".png");
|
||||
auto iconExists = QFile(icon).exists();
|
||||
if (Local::oldSettingsVersion() < 10021 && iconExists) {
|
||||
// Icon was changed.
|
||||
|
Reference in New Issue
Block a user