Try to restore session manager connection on Linux

This commit is contained in:
Ilya Fedin 2023-11-27 03:48:46 +04:00 committed by John Preston
parent 4a0ee22670
commit a93340c2e4
2 changed files with 0 additions and 5 deletions

View File

@ -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;

View File

@ -18,7 +18,6 @@ public:
int exec() override;
private:
void initHook() override;
bool launchUpdater(UpdaterLaunch action) override;
bool _updating = false;