X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbufferviewconfig.cpp;h=95cee70918e2e0d2939713786823167033e4ea92;hp=54edae50bcc1649fa5c191b60e8e3f09d78e2b52;hb=c27d5bfbe80bfeb583a25404f4ccee4b70b010e0;hpb=3545504d0588f79ac92a7702c4cf78dc0adff05f diff --git a/src/common/bufferviewconfig.cpp b/src/common/bufferviewconfig.cpp index 54edae50..95cee709 100644 --- a/src/common/bufferviewconfig.cpp +++ b/src/common/bufferviewconfig.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 * @@ -20,20 +20,10 @@ #include "bufferviewconfig.h" -#include "bufferinfo.h" - INIT_SYNCABLE_OBJECT(BufferViewConfig) BufferViewConfig::BufferViewConfig(int bufferViewId, QObject *parent) : SyncableObject(parent), - _bufferViewId(bufferViewId), - _addNewBuffersAutomatically(true), - _sortAlphabetically(true), - _hideInactiveBuffers(false), - _hideInactiveNetworks(false), - _disableDecoration(false), - _allowedBufferTypes(BufferInfo::StatusBuffer | BufferInfo::ChannelBuffer | BufferInfo::QueryBuffer | BufferInfo::GroupBuffer), - _minimumActivity(0), - _showSearch(true) + _bufferViewId(bufferViewId) { setObjectName(QString::number(bufferViewId)); }