diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-10-15 16:46:47 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-10-15 16:46:47 +0000 |
| commit | 1199a215dda2baeaadc38baeaa68e6b98e465ce8 (patch) | |
| tree | 8246cc8bb5a708320c9609ae8e351b7e46c95101 /src/plugins/Input | |
| parent | 5bcb2dcc6048e4df6898640a0f7a053dc75d8ec9 (diff) | |
| download | qmmp-1199a215dda2baeaadc38baeaa68e6b98e465ce8.tar.gz qmmp-1199a215dda2baeaadc38baeaa68e6b98e465ce8.tar.bz2 qmmp-1199a215dda2baeaadc38baeaa68e6b98e465ce8.zip | |
fixed case sensitivity
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3788 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input')
| -rw-r--r-- | src/plugins/Input/flac/flacmetadatamodel.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/Input/flac/replaygainreader.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/Input/flac/flacmetadatamodel.cpp b/src/plugins/Input/flac/flacmetadatamodel.cpp index 9e057a6fd..d9c88f339 100644 --- a/src/plugins/Input/flac/flacmetadatamodel.cpp +++ b/src/plugins/Input/flac/flacmetadatamodel.cpp @@ -58,13 +58,13 @@ QHash<QString, QString> FLACMetaDataModel::audioProperties() TagLib::Ogg::FLAC::File *oggFlacFile = 0; TagLib::FLAC::Properties *taglib_ap = 0; qint64 size = 0; - if(m_path.endsWith(".flac")) + if(m_path.endsWith(".flac"), Qt::CaseInsensitive) { flacFile = new TagLib::FLAC::File(m_path.toLocal8Bit().constData()); taglib_ap = flacFile->audioProperties(); size = flacFile->length(); } - else if(m_path.endsWith(".oga")) + else if(m_path.endsWith(".oga"), Qt::CaseInsensitive) { oggFlacFile = new TagLib::Ogg::FLAC::File(m_path.toLocal8Bit().constData()); taglib_ap = oggFlacFile->audioProperties(); diff --git a/src/plugins/Input/flac/replaygainreader.cpp b/src/plugins/Input/flac/replaygainreader.cpp index f8e5c9469..4d14ed063 100644 --- a/src/plugins/Input/flac/replaygainreader.cpp +++ b/src/plugins/Input/flac/replaygainreader.cpp @@ -27,13 +27,13 @@ ReplayGainReader::ReplayGainReader(const QString &path) { - if(path.endsWith(".flac")) + if(path.endsWith(".flac"), Qt::CaseInsensitive) { TagLib::FLAC::File fileRef(path.toLocal8Bit ().constData()); if(fileRef.xiphComment()) readVorbisComment(fileRef.xiphComment()); } - else if(path.endsWith(".oga")) + else if(path.endsWith(".oga"), Qt::CaseInsensitive) { TagLib::Ogg::FLAC::File fileRef(path.toLocal8Bit ().constData()); if(fileRef.tag()) |
