mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 15:17:07 +02:00
Apply telegram-wayland-icon.patch from Flatpak version.
This commit is contained in:
parent
f8740c5894
commit
69960a47da
1 changed files with 3 additions and 1 deletions
|
@ -241,7 +241,9 @@ void Launcher::init() {
|
|||
|
||||
QApplication::setApplicationName(qsl("TelegramDesktop"));
|
||||
|
||||
#if defined(Q_OS_LINUX) && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
|
||||
#ifdef TDESKTOP_FLATPAK_BUILD
|
||||
QApplication::setDesktopFileName(qsl("org.telegram.desktop.desktop"));
|
||||
#elif defined(Q_OS_LINUX) && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
|
||||
QApplication::setDesktopFileName(qsl("telegramdesktop.desktop"));
|
||||
#endif
|
||||
#ifndef OS_MAC_OLD
|
||||
|
|
Loading…
Add table
Reference in a new issue