mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-22 07:26:47 +01:00
Fix a build failure with mingw
This commit is contained in:
parent
0d0f1521f2
commit
d108841e36
@ -152,7 +152,7 @@ QImage AlbumCoverLoader::LoadFromTaglib(const QString& filename) const {
|
||||
if (filename.isEmpty())
|
||||
return ret;
|
||||
|
||||
TagLib::FileRef ref(QFile::encodeName(filename));
|
||||
TagLib::FileRef ref(QFile::encodeName(filename).constData());
|
||||
if (ref.isNull())
|
||||
return ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user