mirror of https://github.com/procxx/kepka.git
parent
4d42e7e5b9
commit
c2a10f9c56
|
@ -208,6 +208,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)
|
||||||
|
QApplication::setDesktopFileName(qsl("telegramdesktop.desktop"));
|
||||||
|
#endif
|
||||||
#ifndef OS_MAC_OLD
|
#ifndef OS_MAC_OLD
|
||||||
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true);
|
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true);
|
||||||
#endif // OS_MAC_OLD
|
#endif // OS_MAC_OLD
|
||||||
|
|
Loading…
Reference in New Issue