D13694: Fix wrong availability of profiles and ports.

Andreas Krutzler noreply at phabricator.kde.org
Tue Jun 26 22:15:54 UTC 2018


akrutzler added a comment.


  My patched version of the plugin for the KCM wasn't loaded correctly, that's why I saw the same results. I'm still struggling developing KDE libs/plugins but it's getting better :)
  
  I solved the problem by implementing the `setInfo` function for each, the `Port` and `Profile` class. They are equal except for the availability part so I put the common part into the protected member function `Profile::setCommonInfo`.

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/d9692740/attachment.html>


More information about the Plasma-devel mailing list