Skip to content

kcmodule/global: Set KAuth Action parentWindow

Kai Uwe Broulik requested to merge work/kbroulik/winid-kauth-charge into master

Ensures the policykit prompt can parent itself to the KCM window.


Verified that Polkit1Backend::preAuthAction is called with the relevant window in:

  • systemsettings
  • kcmshell6 kcm_powerdevilglobalconfig
  • Also on “save”

Feels a bit weird to do this unguarded access chain but in load() we seem to already have the window.

Didn’t test if it actually works on X11, though 😄

Merge request reports

Loading