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