aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-04-25 06:44:05 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-04-25 06:44:05 +0000
commitbf0735a1b70ff1a6723a728cef32d3eb6ef96902 (patch)
tree3349c9d6b8422ad24613893bf1c1ccd848ae653d /src/plugins/Input/flac
parent0a4dd651536e614f3d623108cac870d4ee8635e6 (diff)
downloadqmmp-bf0735a1b70ff1a6723a728cef32d3eb6ef96902.tar.gz
qmmp-bf0735a1b70ff1a6723a728cef32d3eb6ef96902.tar.bz2
qmmp-bf0735a1b70ff1a6723a728cef32d3eb6ef96902.zip
fixed problem with non-latin characters in the file paths under windows
(#852) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6261 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac')
-rw-r--r--src/plugins/Input/flac/decoderflacfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/flac/decoderflacfactory.cpp b/src/plugins/Input/flac/decoderflacfactory.cpp
index f8378f588..2047ec9f9 100644
--- a/src/plugins/Input/flac/decoderflacfactory.cpp
+++ b/src/plugins/Input/flac/decoderflacfactory.cpp
@@ -126,7 +126,7 @@ QList<FileInfo *> DecoderFLACFactory::createPlayList(const QString &fileName, bo
#if (TAGLIB_MAJOR_VERSION > 1) || ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION >= 8))
oggFlacFile = new TagLib::Ogg::FLAC::File(&stream);
#else
- oggFlacFile = new TagLib::Ogg::FLAC::File(fileName.toLocal8Bit().constData());
+ oggFlacFile = new TagLib::Ogg::FLAC::File(QStringToFileName(fileName));
#endif
tag = useMetaData ? oggFlacFile->tag() : 0;
ap = oggFlacFile->audioProperties();