mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +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);
|
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();
|
auto iconExists = QFile(icon).exists();
|
||||||
if (Local::oldSettingsVersion() < 10021 && iconExists) {
|
if (Local::oldSettingsVersion() < 10021 && iconExists) {
|
||||||
// Icon was changed.
|
// Icon was changed.
|
||||||
|
Reference in New Issue
Block a user