Fix the exclusive group box case for default indicators
ClosedPublic

Authored by ervin on Apr 20 2020, 4:23 PM.

Details

Summary

Turns out there was an oversight here, in case of an exclusive group
box, the emitter widget is a button inside the group box which can have
any name (this was thus caught by the assert).

So now we also check if the sender is a button and if that's the case we
verify if its in one of the known exclusive group boxes. If yes we use
the group box as reference for the indicator work.

Diff Detail

Repository
R265 KConfigWidgets
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ervin created this revision.Apr 20 2020, 4:23 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 20 2020, 4:23 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
ervin requested review of this revision.Apr 20 2020, 4:23 PM
ervin updated this revision to Diff 80664.Apr 20 2020, 4:28 PM

Fix misplaced *

ngraham accepted this revision.Apr 20 2020, 4:55 PM
This revision is now accepted and ready to land.Apr 20 2020, 4:55 PM
This revision was automatically updated to reflect the committed changes.