hide primary display combo when not supported

Authored by sebas on Feb 21 2018, 6:22 PM.

Description

hide primary display combo when not supported

Summary:
Some backends, for example the kwayland backend, do not support
setting the primary display. The backends already make their
feature set known so we can just hide it from the UI.

It's enough to hide it from the UI since setting it doesn't make
any difference, the libkscreen backend will simply ignore it
internally, so it's just honest to not show it.

BUG:390638

Test Plan:
ran kscreen kcm on both, X11 and wayland platforms, combo
and label are shown and hidden as expected

Reviewers: Plasma, dvratil, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: kpiwowarski, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D10723

Details

Committed
sebasFeb 23 2018, 8:57 AM
Reviewer
Plasma
Differential Revision
D10723: hide primary display combo when not supported
Parents
R104:411c3c208f8d: Merge branch 'Plasma/5.12'
Branches
Unknown
Tags
Unknown