davidedmundson added a comment.
There's a findByPath method on the list https://api.kde.org/frameworks/kio/html/classKMountPoint_1_1List.html#add38a82921d203856e1d1f9ddb9adbe6 It's a bit smarter as it resolves symlinks and such. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D19979 To: ivan, davidedmundson, dfaure Cc: kde-frameworks-devel, michaelh, ngraham, bruns