X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.cpp;h=983a6cd2636708fdb141cd1871111a30cb50af72;hp=474828a0e78273482c6871e58fc33bdaa57a43f8;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a diff --git a/src/client/clientbufferviewconfig.cpp b/src/client/clientbufferviewconfig.cpp index 474828a0..983a6cd2 100644 --- a/src/client/clientbufferviewconfig.cpp +++ b/src/client/clientbufferviewconfig.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 * @@ -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.