D28276: only add devices to the smb mount model that are network shares

Harald Sitter noreply at phabricator.kde.org
Wed Mar 25 11:29:47 GMT 2020


sitter added a comment.


  In D28276#634264 <https://phabricator.kde.org/D28276#634264>, @broulik wrote:
  
  > This is because the device monitor emits all devices, not the query returning unwanted devices?
  
  
  Yep
  
    connect(Solid::DeviceNotifier::instance(), &Solid::DeviceNotifier::deviceAdded,
            this, &SmbMountModel::addDevice);

REPOSITORY
  R102 KInfoCenter

BRANCH
  smb-type-check2

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

To: sitter, ngraham, broulik
Cc: broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200325/c63d81db/attachment-0001.html>


More information about the Plasma-devel mailing list