The source project of this merge request has been removed.
KCM Touchpad: hide right and middle click sections when unavailable
For the right click section, show it only if one its two options is available.
For the middle-click section, show it if at least one of its option is visible.
I couldn't test it as I use the kdesrc-build in HOME dev environment method and the kcm touchpad does not run in this setting.
cc @ngraham