aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/General/converter/converter.cpp4
-rw-r--r--src/plugins/Input/flac/flacmetadatamodel.cpp4
-rw-r--r--src/plugins/Input/flac/replaygainreader.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp
index 95c055f0b..141d9d233 100644
--- a/src/plugins/General/converter/converter.cpp
+++ b/src/plugins/General/converter/converter.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2011 by Ilya Kotov *
+ * Copyright (C) 2011-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -290,7 +290,7 @@ void Converter::run()
file.tag()->setYear(metadata[Qmmp::YEAR].toUInt());
file.tag()->setTrack(metadata[Qmmp::TRACK].toUInt());
- if(full_path.endsWith(".mp3"))
+ if(full_path.endsWith(".mp3"), Qt::CaseInsensitive)
{
TagLib::MPEG::File *mpeg_file = dynamic_cast <TagLib::MPEG::File *> (file.file());
mpeg_file->save(TagLib::MPEG::File::ID3v2, true);
diff --git a/src/plugins/Input/flac/flacmetadatamodel.cpp b/src/plugins/Input/flac/flacmetadatamodel.cpp
index 9e057a6fd..d9c88f339 100644
--- a/src/plugins/Input/flac/flacmetadatamodel.cpp
+++ b/src/plugins/Input/flac/flacmetadatamodel.cpp
@@ -58,13 +58,13 @@ QHash<QString, QString> FLACMetaDataModel::audioProperties()
TagLib::Ogg::FLAC::File *oggFlacFile = 0;
TagLib::FLAC::Properties *taglib_ap = 0;
qint64 size = 0;
- if(m_path.endsWith(".flac"))
+ if(m_path.endsWith(".flac"), Qt::CaseInsensitive)
{
flacFile = new TagLib::FLAC::File(m_path.toLocal8Bit().constData());
taglib_ap = flacFile->audioProperties();
size = flacFile->length();
}
- else if(m_path.endsWith(".oga"))
+ else if(m_path.endsWith(".oga"), Qt::CaseInsensitive)
{
oggFlacFile = new TagLib::Ogg::FLAC::File(m_path.toLocal8Bit().constData());
taglib_ap = oggFlacFile->audioProperties();
diff --git a/src/plugins/Input/flac/replaygainreader.cpp b/src/plugins/Input/flac/replaygainreader.cpp
index f8e5c9469..4d14ed063 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"))
+ if(path.endsWith(".flac"), Qt::CaseInsensitive)
{
TagLib::FLAC::File fileRef(path.toLocal8Bit ().constData());
if(fileRef.xiphComment())
readVorbisComment(fileRef.xiphComment());
}
- else if(path.endsWith(".oga"))
+ else if(path.endsWith(".oga"), Qt::CaseInsensitive)
{
TagLib::Ogg::FLAC::File fileRef(path.toLocal8Bit ().constData());
if(fileRef.tag())