X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmarkerlineitem.cpp;h=4ec1651f204523554cd21d1a2fd384a172419989;hp=68d681ac7153d16a9d2ba0b8a8b63a9e8f59c547;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=ac7a58dd970833da2336f6ce035ec55515bac0f1 diff --git a/src/qtui/markerlineitem.cpp b/src/qtui/markerlineitem.cpp index 68d681ac..4ec1651f 100644 --- a/src/qtui/markerlineitem.cpp +++ b/src/qtui/markerlineitem.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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); }