diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index 954ce295b3..39efcf502a 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -659,6 +659,9 @@ void start() { auto backgroundThread = true; mallctl("background_thread", nullptr, nullptr, &backgroundThread, sizeof(bool)); + // Prevent any later calls into setlocale() by Qt + QCoreApplicationPrivate::initLocale(); + LOG(("Launcher filename: %1").arg(QGuiApplication::desktopFileName())); #ifndef DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION