X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatlinemodel.cpp;h=477643c8e580c4f1bb3346f55f66bfd951159198;hp=42dd04e035ddffead3c946c8838c737ff854efef;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49 diff --git a/src/qtui/chatlinemodel.cpp b/src/qtui/chatlinemodel.cpp index 42dd04e0..477643c8 100644 --- a/src/qtui/chatlinemodel.cpp +++ b/src/qtui/chatlinemodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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); }