diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-07-03 07:25:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-07-03 07:25:59 +0000 |
| commit | 4b94c134723328fb5c3cefe7aa0df197675c0b76 (patch) | |
| tree | 1774b548dd5c72dda6465152d6e935c263b7500e /src/plugins/Input/mad/decodermadfactory.cpp | |
| parent | 3e07e1b60b7df20f025a6e0dbbb69e2506aa725b (diff) | |
| download | qmmp-4b94c134723328fb5c3cefe7aa0df197675c0b76.tar.gz qmmp-4b94c134723328fb5c3cefe7aa0df197675c0b76.tar.bz2 qmmp-4b94c134723328fb5c3cefe7aa0df197675c0b76.zip | |
added rusxmms autodetection (win32 only)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4327 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mad/decodermadfactory.cpp')
| -rw-r--r-- | src/plugins/Input/mad/decodermadfactory.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp index 2b6aeb8ba..2c8ca8f86 100644 --- a/src/plugins/Input/mad/decodermadfactory.cpp +++ b/src/plugins/Input/mad/decodermadfactory.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -153,6 +153,11 @@ QList<FileInfo *> DecoderMADFactory::createPlayList(const QString &fileName, boo } settings.endGroup(); +#ifdef Q_OS_WIN //rusxmms autodetection + if(QFile::exists(qApp->applicationDirPath() + "/librcc.dll")) + codec = QTextCodec::codecForName ("UTF-8"); +#endif + if (!codec) codec = QTextCodec::codecForName ("UTF-8"); |
