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/mpc/decodermpcfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/mpc/decodermpcfactory.cpp') diff --git a/src/plugins/Input/mpc/decodermpcfactory.cpp b/src/plugins/Input/mpc/decodermpcfactory.cpp index 07fd9693b..3dfd32407 100644 --- a/src/plugins/Input/mpc/decodermpcfactory.cpp +++ b/src/plugins/Input/mpc/decodermpcfactory.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2010 by Ilya Kotov * + * Copyright (C) 2008-2012 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -75,7 +75,7 @@ QList DecoderMPCFactory::createPlayList(const QString &fileName, boo { FileInfo *info = new FileInfo(fileName); - TagLib::MPC::File fileRef(fileName.toLocal8Bit ()); + TagLib::MPC::File fileRef(fileName.toLocal8Bit().constData()); TagLib::APE::Tag *tag = useMetaData ? fileRef.APETag() : 0; if (tag && !tag->isEmpty()) { -- cgit v1.2.3-13-gbd6f