https://bugs.kde.org/show_bug.cgi?id=419220

--- Comment #4 from Harald Sitter <sit...@kde.org> ---
Git commit 4847c9e2fed215f8d2bfe8bfd5a58c0f62d5d3a9 by Harald Sitter.
Committed on 25/03/2020 at 16:10.
Pushed by sitter into branch 'Plasma/5.18'.

skip over supposed network shares that aren't

Summary:
we explicitly request listFromType(Solid::DeviceInterface::NetworkShare)
but apparently still can get devices that aren't actually of that type.
add an explicit type check to guard against bogus shares coming out of
listFromType.

Test Plan: mount an overlay (I am guessing that's what the problem with kubuntu
is), observe no crash on init

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

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

M  +5    -0    Modules/samba/smbmountmodel.cpp

https://commits.kde.org/kinfocenter/4847c9e2fed215f8d2bfe8bfd5a58c0f62d5d3a9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to