X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.cpp;h=fb7275b031ed79a123bc62470e91fea35184cc3a;hp=2150bbfa57f9ef7b7b178972a7a00536f70ed68a;hb=cc6e7c08709c4e761e2fd9c2e322751015497003;hpb=e50ae7a06fc4e5d3a911c361d30953410deab609 diff --git a/src/client/clientbufferviewconfig.cpp b/src/client/clientbufferviewconfig.cpp index 2150bbfa..fb7275b0 100644 --- a/src/client/clientbufferviewconfig.cpp +++ b/src/client/clientbufferviewconfig.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,15 +20,13 @@ #include "clientbufferviewconfig.h" -INIT_SYNCABLE_OBJECT(ClientBufferViewConfig) -ClientBufferViewConfig::ClientBufferViewConfig(int bufferViewId, QObject *parent) - : BufferViewConfig(bufferViewId, parent), - _locked(false) +ClientBufferViewConfig::ClientBufferViewConfig(int bufferViewId, QObject* parent) + : BufferViewConfig(bufferViewId, parent) + , _locked(false) { - connect(this, SIGNAL(initDone()), this, SLOT(ensureDecoration())); + connect(this, &SyncableObject::initDone, this, &ClientBufferViewConfig::ensureDecoration); } - // currently we don't have a possibility to configure disableDecoration // if we have an old config this value can be true which is... bad. // so we upgrade the core stored bufferViewConfig.