Apply telegram-wayland-icon.patch from Flatpak version.

This commit is contained in:
John Preston 2019-05-10 09:22:21 +03:00
parent f8740c5894
commit 69960a47da
1 changed files with 3 additions and 1 deletions

View File

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