X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmarkerlineitem.cpp;h=4ec1651f204523554cd21d1a2fd384a172419989;hp=68c44ae1a94f610ccb328a5f949957d6238b29cb;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=714b39660fe19e7f092880019429c8da76ee2bd5 diff --git a/src/qtui/markerlineitem.cpp b/src/qtui/markerlineitem.cpp index 68c44ae1..4ec1651f 100644 --- a/src/qtui/markerlineitem.cpp +++ b/src/qtui/markerlineitem.cpp @@ -31,7 +31,7 @@ MarkerLineItem::MarkerLineItem(qreal sceneWidth, QGraphicsItem *parent) setVisible(false); setZValue(8); styleChanged(); // init brush and height - connect(QtUi::style(), SIGNAL(changed()), SLOT(styleChanged())); + connect(QtUi::style(), &UiStyle::changed, this, &MarkerLineItem::styleChanged); }