diff --git a/src/userfeedback/placesdatasource.cpp b/src/userfeedback/placesdatasource.cpp index 6db89636d0..991ce0a18b 100644 --- a/src/userfeedback/placesdatasource.cpp +++ b/src/userfeedback/placesdatasource.cpp @@ -45,7 +45,7 @@ QVariant PlacesDataSource::data() auto storageAccess = device.as(); 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; }