clazy: Convert many old-style connects into function pointer based
[quassel.git] / src / qtui / chatlinemodel.cpp
index 17cdfd3..477643c 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2012 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  *
@@ -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);
 }