diff --git a/Telegram/SourceFiles/platform/linux/launcher_linux.cpp b/Telegram/SourceFiles/platform/linux/launcher_linux.cpp index 55236a156..d7a6fe942 100644 --- a/Telegram/SourceFiles/platform/linux/launcher_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/launcher_linux.cpp @@ -33,10 +33,6 @@ int Launcher::exec() { return Core::Launcher::exec(); } -void Launcher::initHook() { - QApplication::setAttribute(Qt::AA_DisableSessionManager, true); -} - bool Launcher::launchUpdater(UpdaterLaunch action) { if (cExeName().isEmpty()) { return false; diff --git a/Telegram/SourceFiles/platform/linux/launcher_linux.h b/Telegram/SourceFiles/platform/linux/launcher_linux.h index 6c8f28e91..a7909333b 100644 --- a/Telegram/SourceFiles/platform/linux/launcher_linux.h +++ b/Telegram/SourceFiles/platform/linux/launcher_linux.h @@ -18,7 +18,6 @@ public: int exec() override; private: - void initHook() override; bool launchUpdater(UpdaterLaunch action) override; bool _updating = false;