mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-26 19:14:02 +02:00
Use kIconName on icon creating
This commit is contained in:
parent
e04598835b
commit
3d18d28dc5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue