mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
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:
parent
cd32d1f8a3
commit
9963e67865
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user