SessionController: instead of using default quit action, implement our own
This will skip the confirmation dialog popup and also handle the shutdown more gracefully since it will talk to dbus first before exiting.
Earlier we were using the default action which was not correct way to do this.
BUG:488359
BUG:488362
(cherry picked from commit c6c58fb9)
159645e5 SessionController: instead of using default quit action, implement our own a56b0b95 Use qcoreapplication quit bb76e487 Use local variable for menu
Co-authored-by: Akseli Lahtinen akselmo@akselmo.dev