D13694: Fix wrong availability of profiles and ports.

Nicolas Fella noreply at phabricator.kde.org
Tue Jun 26 20:44:09 UTC 2018


nicolasfella requested changes to this revision.
nicolasfella added a comment.
This revision now requires changes to proceed.


  Sorry, but this does not solve the issue. Now it only shows the profiles that are not available. I'll try to make clear why:
  profile->available is either 0 (not available) or 1 (available)
  case not available/0:  Availability will be Unknown and since Unknown != Unavailable it will be shown 
  case available/1:  Availability will be Unavailable and since Unavailable == Unavailable it will not be shown
  
  The key issue is that Profile::Available and Port::Available have different values and should be treated differently.

REPOSITORY
  R115 Plasma Audio Volume Applet

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

To: akrutzler, nicolasfella, broulik, drosca
Cc: plasma-devel, ragreen, Pitel, 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/20180626/28203a87/attachment.html>


More information about the Plasma-devel mailing list