Use QUrl::isLocalFile()

This commit is contained in:
Jonas Kvinge
2019-07-09 21:43:56 +02:00
parent f4b1ef4d04
commit 7fa1461d5e
13 changed files with 20 additions and 20 deletions

View File

@@ -157,7 +157,7 @@ bool OrganiseDialog::SetSongs(const SongList &songs) {
songs_.clear();
for (const Song &song : songs) {
if (song.url().scheme() != "file") {
if (!song.url().isLocalFile()) {
continue;
}