Shortened a line

This commit is contained in:
dmdmdm 2020-07-07 15:29:09 -04:00 committed by John Maguire
parent 2c5c30de15
commit d3a28a40ed
1 changed files with 2 additions and 2 deletions

View File

@ -180,8 +180,8 @@ void TagReader::GuessAlbum(const QFileInfo &info, pb::tagreader::SongMetadata *s
album = ReplaceUnderscoresWithSpaces(dirBn);
album = album.trimmed();
if (album.isEmpty()) return;
const QString checkAlbum = album.toLower();
if (checkAlbum == "various" || checkAlbum == "downloads" || checkAlbum == "music") return;
const QString al = album.toLower();
if (al == "various" || al == "downloads" || al == "music") return;
song->set_album(album.toUtf8().data());
}