aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/converter/converter.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-10-15 16:46:47 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-10-15 16:46:47 +0000
commit1199a215dda2baeaadc38baeaa68e6b98e465ce8 (patch)
tree8246cc8bb5a708320c9609ae8e351b7e46c95101 /src/plugins/General/converter/converter.cpp
parent5bcb2dcc6048e4df6898640a0f7a053dc75d8ec9 (diff)
downloadqmmp-1199a215dda2baeaadc38baeaa68e6b98e465ce8.tar.gz
qmmp-1199a215dda2baeaadc38baeaa68e6b98e465ce8.tar.bz2
qmmp-1199a215dda2baeaadc38baeaa68e6b98e465ce8.zip
fixed case sensitivity
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3788 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/converter/converter.cpp')
-rw-r--r--src/plugins/General/converter/converter.cpp4
1 files changed, 2 insertions, 2 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);