Review Request #122339 - Created Jan. 31, 2015 and submitted
|Kai Uwe Broulik|
Since KSMServer does the session teardown, we can't just rely on Logind's PreparingForShutdown property.
This patch will allow for instance PowerDevil to not suspend the session when it's currently shutting down, otherwise you'll have your system suspend and continue shutting down after resuming.
Works, adjusted PowerDevil and the system did not suspend during shutdown.
Remove X11 ifdef, we should perhaps guard against the availability of QtDBus, not that Plasma or any other workspace part would build without it though.
Revision 2 (+19)