2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use Launcher::initHook on Linux

This commit is contained in:
Ilya Fedin
2020-10-28 18:15:43 +04:00
committed by John Preston
parent 9b99bb172a
commit bbc59c1a99
3 changed files with 8 additions and 4 deletions

View File

@@ -301,10 +301,6 @@ void Launcher::init() {
QApplication::setApplicationName(qsl("TelegramDesktop"));
#if defined Q_OS_UNIX && !defined Q_OS_MAC && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
QApplication::setDesktopFileName(Platform::GetLauncherFilename());
#endif
#ifndef OS_MAC_OLD
QApplication::setAttribute(Qt::AA_DisableHighDpiScaling, true);
#endif // OS_MAC_OLD