X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodelitem.cpp;h=0e93ddbfd1535dadffd021d5a3ab7a176c22ce4d;hp=1897e3e1b495dd246db6b853907879804c997a72;hb=3be0b60bc79f9de4c5428ce2972599b2c03f8cc4;hpb=3d680525678f840e30cef959ff91ee8c7e3d2e17 diff --git a/src/qtui/chatlinemodelitem.cpp b/src/qtui/chatlinemodelitem.cpp index 1897e3e1..0e93ddbf 100644 --- a/src/qtui/chatlinemodelitem.cpp +++ b/src/qtui/chatlinemodelitem.cpp @@ -59,6 +59,10 @@ ChatLineModelItem::ChatLineModelItem(const Message &msg) _contents.formatList = m.contents.formatList; } +ChatLineModelItem::~ChatLineModelItem() { + delete _data; +} + QVariant ChatLineModelItem::data(int column, int role) const { const ChatLinePart *part = 0;