D13751: [Device Monitor] Create KFilePlacesModel on demand

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Jun 27 09:13:50 UTC 2018


broulik created this revision.
broulik added reviewers: Plasma, drosca.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Doing so can be quite expensive as it queries devices and what not.
  This is particularly wasteful if the user doesn't have any Bluetooth devices or no browsable.

TEST PLAN
  No longer creates a model for me. Verified that pairing and unpairing browsable devices still properly updates places.

REPOSITORY
  R97 Bluedevil

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

AFFECTED FILES
  src/kded/devicemonitor.cpp
  src/kded/devicemonitor.h

To: broulik, #plasma, 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/20180627/319f3959/attachment-0001.html>


More information about the Plasma-devel mailing list