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

Reply via email to