aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-05-01 07:12:00 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-05-01 07:12:00 +0000
commit06a071d717c8476ee3b2b2448009e40777cf7c50 (patch)
treed2569e62b98cf70065127e8deea3765f7f2da52c /src/plugins/Input/flac
parentdb23b5ca84741c44ef37c6a5ae5aa8421b3f5a78 (diff)
downloadqmmp-06a071d717c8476ee3b2b2448009e40777cf7c50.tar.gz
qmmp-06a071d717c8476ee3b2b2448009e40777cf7c50.tar.bz2
qmmp-06a071d717c8476ee3b2b2448009e40777cf7c50.zip
removed useless code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4886 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac')
-rw-r--r--src/plugins/Input/flac/flacmetadatamodel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/Input/flac/flacmetadatamodel.cpp b/src/plugins/Input/flac/flacmetadatamodel.cpp
index 9b700383f..adf81c99b 100644
--- a/src/plugins/Input/flac/flacmetadatamodel.cpp
+++ b/src/plugins/Input/flac/flacmetadatamodel.cpp
@@ -205,8 +205,6 @@ void VorbisCommentModel::setValue(Qmmp::MetaData key, const QString &value)
m_tag->setArtist(str);
return;
case Qmmp::ALBUMARTIST:
- value.isEmpty() ?
- m_tag->removeField("ALBUMARTIST"):
m_tag->addField("ALBUMARTIST", str, true);
return;
case Qmmp::ALBUM:
@@ -219,8 +217,6 @@ void VorbisCommentModel::setValue(Qmmp::MetaData key, const QString &value)
m_tag->setGenre(str);
return;
case Qmmp::COMPOSER:
- value.isEmpty() ?
- m_tag->removeField("COMPOSER"):
m_tag->addField("COMPOSER", str, true);
return;
case Qmmp::TRACK: