X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorebufferviewmanager.cpp;h=f1a73db13c4059ef9fbc2defcb1963e60b2b001a;hp=dbc0c9b3b72d9e44f6c7130236803361f0bff542;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/core/corebufferviewmanager.cpp b/src/core/corebufferviewmanager.cpp index dbc0c9b3..f1a73db1 100644 --- a/src/core/corebufferviewmanager.cpp +++ b/src/core/corebufferviewmanager.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -25,7 +25,6 @@ #include "core.h" #include "coresession.h" -INIT_SYNCABLE_OBJECT(CoreBufferViewManager) CoreBufferViewManager::CoreBufferViewManager(SignalProxy *proxy, CoreSession *parent) : BufferViewManager(proxy, parent), _coreSession(parent) @@ -74,8 +73,7 @@ void CoreBufferViewManager::requestCreateBufferView(const QVariantMap &propertie } maxId++; - CoreBufferViewConfig *config = new CoreBufferViewConfig(maxId, properties); - addBufferViewConfig(config); + addBufferViewConfig(new CoreBufferViewConfig(maxId, properties, this)); }