Skip to content
Commit 4847c9e2 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

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.

CCBUG: 419220

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
parent 53ff9206
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment