X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodel.cpp;h=477643c8e580c4f1bb3346f55f66bfd951159198;hp=5e5dd62adc11042239306bfacf08e1ad32e8da2d;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/qtui/chatlinemodel.cpp b/src/qtui/chatlinemodel.cpp index 5e5dd62a..477643c8 100644 --- a/src/qtui/chatlinemodel.cpp +++ b/src/qtui/chatlinemodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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("ChatLineModel::WrapList"); qRegisterMetaTypeStreamOperators("ChatLineModel::WrapList"); - connect(QtUi::style(), SIGNAL(changed()), SLOT(styleChanged())); + connect(QtUi::style(), &UiStyle::changed, this, &ChatLineModel::styleChanged); }