From d818f0b1788d258fd4de31ba73c46321361f8dab Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 24 Dec 2013 12:30:13 +0000 Subject: fixed case-sensitive bug again (Thanks to Ryota Shimamoto)(Fixes issue 628) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3981 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/flac/replaygainreader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/flac/replaygainreader.cpp') diff --git a/src/plugins/Input/flac/replaygainreader.cpp b/src/plugins/Input/flac/replaygainreader.cpp index 4d14ed063..9aa27970c 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"), Qt::CaseInsensitive) + if(path.endsWith(".flac", Qt::CaseInsensitive)) { TagLib::FLAC::File fileRef(path.toLocal8Bit ().constData()); if(fileRef.xiphComment()) readVorbisComment(fileRef.xiphComment()); } - else if(path.endsWith(".oga"), Qt::CaseInsensitive) + else if(path.endsWith(".oga", Qt::CaseInsensitive)) { TagLib::Ogg::FLAC::File fileRef(path.toLocal8Bit ().constData()); if(fileRef.tag()) -- cgit v1.2.3-13-gbd6f