From d108841e36a9ba93c82ecc8395e12148008d6945 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Mon, 19 Jul 2010 19:33:13 +0000 Subject: [PATCH] Fix a build failure with mingw --- src/core/albumcoverloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/albumcoverloader.cpp b/src/core/albumcoverloader.cpp index a08ea8a68..d51a63606 100644 --- a/src/core/albumcoverloader.cpp +++ b/src/core/albumcoverloader.cpp @@ -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;