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

Authored by sitter on Mar 25 2020, 11:15 AM.

Description

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

Summary:
previously we'd add all devices which would then cause a crash when
trying to access them ->as<NetworkShare>() because they aren't

Test Plan: have kcm open, plug in usb stick, observe no crash

Reviewers: ngraham, broulik

Reviewed By: ngraham, broulik

Subscribers: broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D28276

Details

Committed
sitterMar 25 2020, 4:10 PM
Reviewer
ngraham
Differential Revision
D28276: only add devices to the smb mount model that are network shares
Parents
R102:4847c9e2fed2: skip over supposed network shares that aren't
Branches
Unknown
Tags
Unknown
References
tag: v5.18.4