X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fmarkerlineitem.cpp;h=4ec1651f204523554cd21d1a2fd384a172419989;hb=f9efdde7f3a6004af8f834c409cfa6ae1d877692;hp=be3f1afcd9afc103a8facce9518cdc114cb0f0ee;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/qtui/markerlineitem.cpp b/src/qtui/markerlineitem.cpp index be3f1afc..4ec1651f 100644 --- a/src/qtui/markerlineitem.cpp +++ b/src/qtui/markerlineitem.cpp @@ -26,12 +26,12 @@ MarkerLineItem::MarkerLineItem(qreal sceneWidth, QGraphicsItem *parent) : QGraphicsObject(parent), _boundingRect(0, 0, sceneWidth, 1), - _chatLine(0) + _chatLine(nullptr) { setVisible(false); setZValue(8); styleChanged(); // init brush and height - connect(QtUi::style(), SIGNAL(changed()), SLOT(styleChanged())); + connect(QtUi::style(), &UiStyle::changed, this, &MarkerLineItem::styleChanged); }