diff options
Diffstat (limited to 'src/plugins/Input/sndfile/decodersndfilefactory.cpp')
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 2 |
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; |
