diff --git a/src/collection/collectionwatcher.cpp b/src/collection/collectionwatcher.cpp index 044156c23..214a37f4d 100644 --- a/src/collection/collectionwatcher.cpp +++ b/src/collection/collectionwatcher.cpp @@ -928,7 +928,7 @@ bool CollectionWatcher::FindSongsByFingerprint(const QString &file, const SongLi for (const Song &song : songs) { QString filename = song.url().toLocalFile(); - if (song.fingerprint() == fingerprint && (file == filename || !QFileInfo(filename).exists())) { + if (song.fingerprint() == fingerprint && (file == filename || !QFileInfo::exists(filename))) { *out << song; return true; }