From acb3d9b6c3df6dd3eaedefde0f6d82f51681158a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 17 Jan 2012 08:51:39 +0000 Subject: added win32 patches git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2537 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/decoderflacfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/flac/decoderflacfactory.cpp') diff --git a/src/plugins/Input/flac/decoderflacfactory.cpp b/src/plugins/Input/flac/decoderflacfactory.cpp index c1eee4480..ed6f05705 100644 --- a/src/plugins/Input/flac/decoderflacfactory.cpp +++ b/src/plugins/Input/flac/decoderflacfactory.cpp @@ -102,13 +102,13 @@ QList DecoderFLACFactory::createPlayList(const QString &fileName, bo if(fileName.endsWith(".flac", Qt::CaseInsensitive)) { - flacFile = new TagLib::FLAC::File(fileName.toLocal8Bit ()); + flacFile = new TagLib::FLAC::File(fileName.toLocal8Bit().constData()); tag = useMetaData ? flacFile->xiphComment() : 0; ap = flacFile->audioProperties(); } else if(fileName.endsWith(".oga", Qt::CaseInsensitive)) { - oggFlacFile = new TagLib::Ogg::FLAC::File(fileName.toLocal8Bit ()); + oggFlacFile = new TagLib::Ogg::FLAC::File(fileName.toLocal8Bit().constData()); tag = useMetaData ? oggFlacFile->tag() : 0; ap = oggFlacFile->audioProperties(); } -- cgit v1.2.3-13-gbd6f