~ubuntu-branches/ubuntu/trusty/quassel/trusty

« back to all changes in this revision

Viewing changes to src/common/bufferviewconfig.cpp

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2014-02-18 23:18:25 UTC
  • mfrom: (1.1.54)
  • Revision ID: package-import@ubuntu.com-20140218231825-6vvoh451otn95pkn
Tags: 0.10~beta1-0ubuntu1
* New upstream beta relase
  - Drop debian/patches/upstream_fix_fullscreen_mode.diff which had been
    cherrypicked from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2005-2013 by the Quassel Project                        *
 
2
 *   Copyright (C) 2005-2014 by the Quassel Project                        *
3
3
 *   devel@quassel-irc.org                                                 *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
29
29
    _addNewBuffersAutomatically(true),
30
30
    _sortAlphabetically(true),
31
31
    _hideInactiveBuffers(false),
 
32
    _hideInactiveNetworks(false),
32
33
    _disableDecoration(false),
33
34
    _allowedBufferTypes(BufferInfo::StatusBuffer | BufferInfo::ChannelBuffer | BufferInfo::QueryBuffer | BufferInfo::GroupBuffer),
34
35
    _minimumActivity(0)
133
134
    emit configChanged();
134
135
}
135
136
 
 
137
void BufferViewConfig::setHideInactiveNetworks(bool hideInactiveNetworks)
 
138
{
 
139
    if (_hideInactiveNetworks == hideInactiveNetworks)
 
140
        return;
 
141
 
 
142
    _hideInactiveNetworks = hideInactiveNetworks;
 
143
    SYNC(ARG(hideInactiveNetworks))
 
144
    emit configChanged();
 
145
}
 
146
 
136
147
 
137
148
QVariantList BufferViewConfig::initBufferList() const
138
149
{