From cdb07d148e1dcdcefc3bd79a6e1cc454df6b5a59 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 15 Jun 2016 06:22:09 +0000 Subject: sndfile: refactoring git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6456 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/decodersndfilefactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Input/sndfile/decodersndfilefactory.cpp') 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; -- cgit v1.2.3-13-gbd6f