X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatline.h;h=e5ee5f7b59a8fb99d94592e256328bdcce1c8b74;hb=61f33c7895e324f6e95034d86897ad2e963653f1;hp=1fdedd5042dff852d771ac30a84a156f687b482b;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/qtui/chatline.h b/src/qtui/chatline.h index 1fdedd50..e5ee5f7b 100644 --- a/src/qtui/chatline.h +++ b/src/qtui/chatline.h @@ -38,7 +38,7 @@ public: ~ChatLine() override; - inline QRectF boundingRect() const override { return QRectF(0, 0, _width, _height); } + inline QRectF boundingRect() const override { return {0, 0, _width, _height}; } inline QModelIndex index() const { return model()->index(row(), 0); } inline MsgId msgId() const { return index().data(MessageModel::MsgIdRole).value(); }