X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=5f03d9d09a74b52cf363cecbb38c9b10c2913c76;hp=65d68bfa3aea27cf3234906c0a8b8226ef409e9d;hb=8301c4e1ac95ae0462f91cc0e4a90ba2efa5cc45;hpb=4d30b647a451ad697806c9988744247777feca32 diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index 65d68bfa..5f03d9d0 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -35,6 +35,8 @@ ChatLine::ChatLine(const QModelIndex &index, QGraphicsItem *parent) : QGraphicsI _timestampItem->setPos(0,0); _width = _height = 0; _selection = 0; + + if(_contentsItem->data(MessageModel::FlagsRole).toInt() & Message::Highlight) setHighlighted(true); } ChatLine::~ChatLine() {