mirror of https://github.com/procxx/kepka.git
Apply telegram-wayland-icon.patch from Flatpak version.
This commit is contained in:
parent
f8740c5894
commit
69960a47da
|
@ -241,7 +241,9 @@ void Launcher::init() {
|
||||||
|
|
||||||
QApplication::setApplicationName(qsl("TelegramDesktop"));
|
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"));
|
QApplication::setDesktopFileName(qsl("telegramdesktop.desktop"));
|
||||||
#endif
|
#endif
|
||||||
#ifndef OS_MAC_OLD
|
#ifndef OS_MAC_OLD
|
||||||
|
|
Loading…
Reference in New Issue