Skip to content
Commit 0c36bc5e authored by Nicolas Fella's avatar Nicolas Fella Committed by Alexander Lohnau
Browse files

[kpluginwidget] Fix parent handling for plugin KCMs

We add the KCM to a layout, so we should not set a parent ourselves before
adding the widget to the layout.

Setting a parent to the KCM directly in fact breaks the layout and size handling.

In KF5 this didn't happen because there was a KCModuleProxy between the actual KCM and
the layout. Add a dummy QWidget to emulate that and fix the issue
parent 8bb57d03
Pipeline #382949 passed with stage
in 4 minutes and 13 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment