D18308: Ignore all non-storage deviceAdded signals from Solid
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Thu Jan 17 05:17:35 GMT 2019
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
createCacheEntry is also called from SolidDeviceNotifier::deviceAdded,
which issues signals for all kinds of devices.
Ignore any events but for Solid::StorageAccess devices. This also avoids
trying to connect() to a nullptr.
REPOSITORY
R293 Baloo
BRANCH
submit
REVISION DETAIL
https://phabricator.kde.org/D18308
AFFECTED FILES
src/file/storagedevices.cpp
To: bruns, #baloo, #frameworks, ngraham
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190117/0e1a2bb4/attachment.html>
More information about the Kde-frameworks-devel
mailing list