Diffusion Elisa 04510d1630bb

avoid Elisa prevent session close

Authored by mgallien on May 14 2020, 9:14 PM.

Description

avoid Elisa prevent session close

This has to do with session management and the fact that when closed
the Elisa window hides and refuse to be closed when system tray icon
is configured active.

https://doc.qt.io/qt-5/qsessionmanager.html is the main input link in
the Qt documentation.

This patch detects that the session is being closed and allow the window
to be closed instead of hidden. That way, Elisa will not signal that the
window refused to close and the session manager will close the full
session.

Details

Committed
mgallienMay 15 2020, 4:37 PM
Parents
R255:e8004657ec14: fix qml interface not showing up on Windows due to platform specific qml
Branches
Unknown
Tags
Unknown