aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-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;