Try to restore session manager connection on Linux
This commit is contained in:
parent
4a0ee22670
commit
a93340c2e4
|
@ -33,10 +33,6 @@ int Launcher::exec() {
|
||||||
return Core::Launcher::exec();
|
return Core::Launcher::exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Launcher::initHook() {
|
|
||||||
QApplication::setAttribute(Qt::AA_DisableSessionManager, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Launcher::launchUpdater(UpdaterLaunch action) {
|
bool Launcher::launchUpdater(UpdaterLaunch action) {
|
||||||
if (cExeName().isEmpty()) {
|
if (cExeName().isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -18,7 +18,6 @@ public:
|
||||||
int exec() override;
|
int exec() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initHook() override;
|
|
||||||
bool launchUpdater(UpdaterLaunch action) override;
|
bool launchUpdater(UpdaterLaunch action) override;
|
||||||
|
|
||||||
bool _updating = false;
|
bool _updating = false;
|
||||||
|
|
Loading…
Reference in New Issue