broulik created this revision. broulik added reviewers: Plasma, davidedmundson, fvogt, nicolasfella. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY Makes sure we detect devices being added, removed, or becoming (in)visible at runtime. TEST PLAN Probably never touched this code after it "worked as a proof of concept" - Turned wifi on on my phone, kde connect device context menu entry showed up - turned wifi off on my phone, kde connect device context menu entry vanished - reloaded extension while phone was connected: still got context menu entry - sending links to phone still works REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D16889 AFFECTED FILES extension/extension.js host/kdeconnectplugin.cpp host/kdeconnectplugin.h To: broulik, #plasma, davidedmundson, fvogt, nicolasfella Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart