diff options
| -rw-r--r-- | src/userfeedback/placesdatasource.cpp | 2 |
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; } |
