X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.cpp;h=fb7275b031ed79a123bc62470e91fea35184cc3a;hb=3128dab675247b8505937b0bc22b4e2ad2dd61ff;hp=6840f1f8e3231db1ecd9ff0d0d7ce6f28c6b504d;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/client/clientbufferviewconfig.cpp b/src/client/clientbufferviewconfig.cpp index 6840f1f8..fb7275b0 100644 --- a/src/client/clientbufferviewconfig.cpp +++ b/src/client/clientbufferviewconfig.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 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.