mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-28 16:20:26 +01:00
Make sure URL is valid in giolister
This commit is contained in:
parent
8646829853
commit
9af409d6d6
@ -252,7 +252,8 @@ QList<QUrl> GioLister::MakeDeviceUrls(const QString &id) {
|
||||
}
|
||||
|
||||
if (!mount_point.isEmpty()) {
|
||||
ret << MakeUrlFromLocalPath(mount_point);
|
||||
QUrl url = MakeUrlFromLocalPath(mount_point);
|
||||
if (url.isValid()) ret << url;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user