clazy: Convert many old-style connects into function pointer based
[quassel.git] / src / qtui / chatlinemodel.cpp
index 3dcef66..477643c 100644 (file)
@@ -28,7 +28,7 @@ ChatLineModel::ChatLineModel(QObject *parent)
     qRegisterMetaType<WrapList>("ChatLineModel::WrapList");
     qRegisterMetaTypeStreamOperators<WrapList>("ChatLineModel::WrapList");
 
-    connect(QtUi::style(), SIGNAL(changed()), SLOT(styleChanged()));
+    connect(QtUi::style(), &UiStyle::changed, this, &ChatLineModel::styleChanged);
 }