From: Michael Helmling Date: Sun, 26 Feb 2012 17:38:03 +0000 (+0100) Subject: Removed quodlibet special case handling X-Git-Tag: v1.8beta~24^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e6d823992fe53ede880889eb6e78709c84570e3;p=taglib Removed quodlibet special case handling --- diff --git a/taglib/mpeg/id3v2/frames/textidentificationframe.cpp b/taglib/mpeg/id3v2/frames/textidentificationframe.cpp index d68d0dfe..a026bca9 100644 --- a/taglib/mpeg/id3v2/frames/textidentificationframe.cpp +++ b/taglib/mpeg/id3v2/frames/textidentificationframe.cpp @@ -380,9 +380,7 @@ void UserTextIdentificationFrame::setDescription(const String &s) PropertyMap UserTextIdentificationFrame::asProperties() const { String tagName = description(); - // Quodlibet/Exfalso use QuodLibet:: if you set an arbitrary ID3 tag. - int pos = tagName.find("::"); - tagName = (pos != -1) ? tagName.substr(pos+2).upper() : tagName.upper(); + PropertyMap map; String key = map.prepareKey(tagName); if(key.isNull()) // this frame's description is not a valid PropertyMap key -> add to unsupported list