<table><tr><td style="">sebas created this revision.<br />sebas added reviewers: Plasma, dvratil.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />sebas requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10723" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Some backends, for example the kwayland backend, do not support<br />
setting the primary display. The backends already make their<br />
feature set known so we can just hide it from the UI.</p>
<p>It's enough to hide it from the UI since setting it doesn't make<br />
any difference, the libkscreen backend will simply ignore it<br />
internally, so it's just honest to not show it.</p>
<p>BUG:390638</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>ran kscreen kcm on both, X11 and wayland platforms, combo<br />
and label are shown and hidden as expected</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R104 KScreen</div></div></div><br /><div><strong>BRANCH</strong><div><div>sebas/pcombo</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10723" rel="noreferrer">https://phabricator.kde.org/D10723</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcm/src/widget.cpp<br />
kcm/src/widget.h</div></div></div><br /><div><strong>To: </strong>sebas, Plasma, dvratil<br /><strong>Cc: </strong>plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>