Fix use of QString::right()
This commit is contained in:
parent
c5c7a07c12
commit
4bfad9dad8
@ -135,7 +135,7 @@ QString AlbumCoverLoader::CoverFilePath(const Song::Source source, const QString
|
|||||||
path = Song::ImageCacheDir(source);
|
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);
|
path.chop(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user