D23125: fix bridge master:slave mapping by-name

Jan Grulich noreply at phabricator.kde.org
Fri Aug 16 11:17:33 BST 2019


jgrulich added a comment.


  The parent knows the connection id, if you look into ConnectionEditorBase::initialize(), then you can get the id using
  
    "m_connection->id()"
  
  You can add additional **masterId** parameter so you don't need to go through the whole connection list to get the id.  Also, this same improvement can be done in BondWidget and TeamWidget, where very same code is used (if would be so kind to do so :) )

REPOSITORY
  R116 Plasma Network Management Applet

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

To: sitter, jgrulich
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190816/5a0ce1ca/attachment.html>


More information about the Plasma-devel mailing list