kcmodule/global: Set KAuth Action parentWindow
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