X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorebufferviewconfig.cpp;h=dff072de80feee327fe7ec83ec038e25ea264bd3;hp=49686c1202b1e6008e9d00e2fdcea166d487858f;hb=d1d1e6ef1d2073d629bf54fd8e0d31f647f9cb88;hpb=4e0445e459c690cfa6013c5ad574e94f9214827b diff --git a/src/core/corebufferviewconfig.cpp b/src/core/corebufferviewconfig.cpp index 49686c12..dff072de 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-2014 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); }