Use kIconName on icon creating

This commit is contained in:
Ilya Fedin 2020-11-06 14:26:26 +04:00 committed by John Preston
parent e04598835b
commit 3d18d28dc5
1 changed files with 1 additions and 1 deletions

View File

@ -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.