Set application display name

This commit is contained in:
Ilya Fedin 2020-03-12 14:33:01 +04:00 committed by John Preston
parent 229d15c492
commit fda8a38bfc
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ void Launcher::init() {
prepareSettings();
QApplication::setApplicationName(qsl("TelegramDesktop"));
QApplication::setApplicationDisplayName(AppName.utf16());
#if defined(Q_OS_LINUX) && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
QApplication::setDesktopFileName(Platform::GetLauncherFilename());