mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-07 09:55:46 +00:00
Get rid of unneeded QT_VERSION_CHECK in linux platform code
This commit is contained in:
@@ -49,10 +49,7 @@ Launcher::Launcher(int argc, char *argv[])
|
||||
}
|
||||
|
||||
void Launcher::initHook() {
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||
QApplication::setAttribute(Qt::AA_DisableSessionManager, true);
|
||||
#endif // Qt >= 5.14
|
||||
|
||||
QApplication::setDesktopFileName(GetLauncherFilename());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user