X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcorebufferviewconfig.cpp;h=3fa9a46781e1954c0b7adad10da62688ec4e2c71;hb=5923f262cc695f0fe0a06757ef3411688747066a;hp=49686c1202b1e6008e9d00e2fdcea166d487858f;hpb=4e0445e459c690cfa6013c5ad574e94f9214827b;p=quassel.git diff --git a/src/core/corebufferviewconfig.cpp b/src/core/corebufferviewconfig.cpp index 49686c12..3fa9a467 100644 --- a/src/core/corebufferviewconfig.cpp +++ b/src/core/corebufferviewconfig.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,17 +15,21 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "corebufferviewconfig.h" +INIT_SYNCABLE_OBJECT(CoreBufferViewConfig) CoreBufferViewConfig::CoreBufferViewConfig(int bufferViewId, QObject *parent) - : BufferViewConfig(bufferViewId, parent) + : BufferViewConfig(bufferViewId, parent) { + setAllowClientUpdates(true); } -void CoreBufferViewConfig::requestSetBufferViewName(const QString &bufferViewName) { - qDebug() << "requestSetBufferViewName" << bufferViewName; - setBufferViewName(bufferViewName); + +CoreBufferViewConfig::CoreBufferViewConfig(int bufferViewId, const QVariantMap &properties, QObject *parent) + : BufferViewConfig(bufferViewId, properties, parent) +{ + setAllowClientUpdates(true); }