Fix use of QString::right()

This commit is contained in:
Jonas Kvinge 2020-05-12 21:12:08 +02:00
parent c5c7a07c12
commit 4bfad9dad8
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ QString AlbumCoverLoader::CoverFilePath(const Song::Source source, const QString
path = Song::ImageCacheDir(source);
}
if (path.right(1) == QDir::separator() || path.right(1) == '/') {
if (path.right(1) == QDir::separator() || path.right(1) == "/") {
path.chop(1);
}