X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=94820d631ad5313bcaf793438570026aaee14321;hb=603763515d61fc1cd3febbfd7c3268d5216df768;hp=5213be8a9dd84c3186b805877dbb6183c3436b6d;hpb=756158351d58ce25857f52589f5f8c42236a1c27;p=quassel.git diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index 5213be8a..94820d63 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -35,9 +35,9 @@ ChatLine::ChatLine(int row, QAbstractItemModel *model, QGraphicsItem *parent) : QGraphicsItem(parent), _row(row), // needs to be set before the items - _timestampItem(ChatLineModel::TimestampColumn, model, this), - _senderItem(ChatLineModel::SenderColumn, model, this), - _contentsItem(ChatLineModel::ContentsColumn, model, this), + _timestampItem(model, this), + _senderItem(model, this), + _contentsItem(model, this), _width(0), _height(0), _selection(0)