D11166: Simplify display when there's only a single device

Chris Holland noreply at phabricator.kde.org
Fri Mar 9 04:07:24 UTC 2018


Zren added a comment.


  Hmmm. So if there was 2 sinks (eg: 3.5mm jack + HDMI) and 1 mic (3.5mm jack) it'd show the sink header, but not the source header? Labelling all 3 as a sink?
  
  Might want to create a `bool simpleMode: sinkView.count + sourceView.count <= 2` that is used everywhere in `main.qml`. Or `sinkView.count == 1 && sourceView.count == 1`.

REPOSITORY
  R115 Plasma Audio Volume Applet

REVISION DETAIL
  https://phabricator.kde.org/D11166

To: ngraham, #plasma, drosca
Cc: Zren, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180309/e03d5cf2/attachment.html>


More information about the Plasma-devel mailing list