┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/userfeedback
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2022-04-01 00:13:19 +0200
committerNicolas Fella <[email protected]>2022-04-01 00:13:19 +0200
commit3ccc0420a694deeb0d236c7b39ce569bd074f3e8 (patch)
tree6a70a8db9b2fe902780e572679afb6fee4bf8d3f /src/userfeedback
parent64ffcdad4ff60e1f0b443c00229e6aacf523c72f (diff)
parent1041b52c7a9002d682246052a587e9a17357afa1 (diff)
Merge branch 'release/22.04'
Diffstat (limited to 'src/userfeedback')
-rw-r--r--src/userfeedback/placesdatasource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfeedback/placesdatasource.cpp b/src/userfeedback/placesdatasource.cpp
index 6db89636d..991ce0a18 100644
--- a/src/userfeedback/placesdatasource.cpp
+++ b/src/userfeedback/placesdatasource.cpp
@@ -45,7 +45,7 @@ QVariant PlacesDataSource::data()
auto storageAccess = device.as<Solid::StorageAccess>();
if (storageAccess) {
auto mountPoint = KMountPoint::currentMountPoints().findByPath(storageAccess->filePath());
- if (!mountPoint->mountedFrom().startsWith(QLatin1String("kdeconnect@"))) {
+ if (mountPoint && !mountPoint->mountedFrom().startsWith(QLatin1String("kdeconnect@"))) {
hasSSHFS = true;
continue;
}