mirror of
https://github.com/taglib/taglib.git
synced 2025-11-12 20:52:52 -05:00
Implemented the most easy comments on the pull request.
This commit is contained in:
@ -187,15 +187,17 @@ TagDict APE::Tag::toDict() const
|
||||
tagName = "TRACKNUMBER";
|
||||
else if (tagName == "YEAR")
|
||||
tagName = "DATE";
|
||||
else if (tagName == "ALBUM ARTIST")
|
||||
tagName = "ALBUMARTIST";
|
||||
if (it->second.type() == Item::Text)
|
||||
dict[tagName].append(it->second.toStringList());
|
||||
}
|
||||
return dict;
|
||||
}
|
||||
|
||||
void APE::Tag::fromDict(const TagDict &orig_dict)
|
||||
void APE::Tag::fromDict(const TagDict &origDict)
|
||||
{
|
||||
TagDict dict(orig_dict); // make a local copy that can be modified
|
||||
TagDict dict(origDict); // make a local copy that can be modified
|
||||
|
||||
// see comment in toDict() about TRACKNUMBER and YEAR
|
||||
if (dict.contains("TRACKNUMBER")) {
|
||||
|
||||
Reference in New Issue
Block a user