D12127: Do not query properties when no interfaces are left

Stefan BrĂ¼ns noreply at phabricator.kde.org
Wed Apr 11 22:43:17 UTC 2018


bruns created this revision.
bruns added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
bruns requested review of this revision.

REVISION SUMMARY
  checkCache is indirectly invoked from DeviceManager::updatebackend(),
  e.g. after an InterfaceRemoved call. Avoid doing a DBus Get() call which
  will never return a valid result.

TEST PLAN
  make
  solid-hardware5 list details

REPOSITORY
  R245 Solid

BRANCH
  avoid_query_without_interfaces

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

AFFECTED FILES
  src/solid/devices/backends/udisks2/udisksdevicebackend.cpp

To: bruns, #frameworks
Cc: michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180411/322ac482/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list