Skip to content
Commit 8507e602 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

kcms/tabbox: Handle config directly within the configuration form

By passing the config object to the TabBoxConfigurationForm, we
can handle it directly instead of bouncing information from and
back between the forms and the KCM main class.

Now the user changes in the UI translate to the config objects,
which can directly provide `isSaveNeeded()` and `isDefaults()` info.

This allows to simplify the logic on both classes, reducing the
coupling between them and minimizing the number of exposed public
methods and some boilerplate.
parent 9807c839
Pipeline #324497 passed with stage
in 33 minutes and 55 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