Use setData() rather than parseFields() here to make sure that the frame

header is initialized.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332785 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler 2004-07-26 02:44:23 +00:00
parent cd32d1f8a3
commit 9963e67865

View File

@ -50,7 +50,7 @@ CommentsFrame::CommentsFrame(String::Type encoding) : Frame("COMM")
CommentsFrame::CommentsFrame(const ByteVector &data) : Frame(data)
{
d = new CommentsFramePrivate;
parseFields(data.mid(Header::size(header()->version()), size()));
setData(data);
}
CommentsFrame::~CommentsFrame()