diff --git a/src/core/song.cpp b/src/core/song.cpp index 62b7f8c4f..f4fba5820 100644 --- a/src/core/song.cpp +++ b/src/core/song.cpp @@ -252,10 +252,7 @@ bool Song::HasProperMediaFile() const { QMutexLocker l(&taglib_mutex_); scoped_ptr fileref(factory_->GetFileRef(d->filename_)); - if(fileref->isNull()) - return false; - - return fileref->tag(); + return !fileref->isNull() && fileref->tag(); } void Song::InitFromFile(const QString& filename, int directory_id) {