diff options
Diffstat (limited to 'src/plugins/Input/flac/replaygainreader.cpp')
| -rw-r--r-- | src/plugins/Input/flac/replaygainreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()) |
