From 6e6d823992fe53ede880889eb6e78709c84570e3 Mon Sep 17 00:00:00 2001 From: Michael Helmling Date: Sun, 26 Feb 2012 18:38:03 +0100 Subject: [PATCH] Removed quodlibet special case handling --- taglib/mpeg/id3v2/frames/textidentificationframe.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.40.0