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