Skip to content

kcmodule/profile: Port missing lid/power-button presence to QML KCM

I missed this functionality in !259 (merged). The code in handlebuttoneventsconfig.cpp uses OrgFreedesktopUPowerInterface directly, I thought it makes sense here to instead instantiate a LidController from powerdevilcore which wraps the D-Bus object and exposes this flag as well.

Merge request reports