mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-05 12:56:52 +01:00
Use isLocalFile()
This commit is contained in:
parent
31506662db
commit
533da8f89c
@ -1864,7 +1864,7 @@ void Playlist::RemoveDeletedSongs() {
|
||||
PlaylistItemPtr item = items_[row];
|
||||
Song song = item->Metadata();
|
||||
|
||||
if (!song.is_stream() && !QFile::exists(song.url().toLocalFile())) {
|
||||
if (song.url().isLocalFile() && !QFile::exists(song.url().toLocalFile())) {
|
||||
rows_to_remove.append(row);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user