X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcorebufferviewconfig.cpp;h=ab0f308966065c56cf7e762b6988b1222da1b4c7;hb=45cf725071f19107d73b96f8a24b47df1e2f474e;hp=49686c1202b1e6008e9d00e2fdcea166d487858f;hpb=4e0445e459c690cfa6013c5ad574e94f9214827b;p=quassel.git diff --git a/src/core/corebufferviewconfig.cpp b/src/core/corebufferviewconfig.cpp index 49686c12..ab0f3089 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-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,12 +20,15 @@ #include "corebufferviewconfig.h" +INIT_SYNCABLE_OBJECT(CoreBufferViewConfig) CoreBufferViewConfig::CoreBufferViewConfig(int bufferViewId, QObject *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); }