aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-06-15 06:22:09 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-06-15 06:22:09 +0000
commitcdb07d148e1dcdcefc3bd79a6e1cc454df6b5a59 (patch)
tree5b9d8be03ea10c37f8479360d7d0d91d6a8cab44 /src
parentf196bf0eb34f01b8db35336b82ac31fd5f531ec6 (diff)
downloadqmmp-cdb07d148e1dcdcefc3bd79a6e1cc454df6b5a59.tar.gz
qmmp-cdb07d148e1dcdcefc3bd79a6e1cc454df6b5a59.tar.bz2
qmmp-cdb07d148e1dcdcefc3bd79a6e1cc454df6b5a59.zip
sndfile: refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6456 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Input/sndfile/decodersndfilefactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp
index e800a0a95..f7665154d 100644
--- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp
+++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp
@@ -34,7 +34,7 @@
bool DecoderSndFileFactory::supports(const QString &source) const
{
- if (source.right(4).toLower() == ".wav")
+ if (source.endsWith(".wav", Qt::CaseInsensitive))
{
//try top open the file
SF_INFO snd_info;