X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fbuffermodel.cpp;h=de415503b917afa2ef4aba5c8580f4fe77b318bc;hp=9c8df06f3286120336a339ae4f82deed74d8b10a;hb=114f8a14b8bc82669ffda0599ce30fc299be9396;hpb=c5c74323b6d8f3fc6775ca1d08cb84c602bac58d diff --git a/src/client/buffermodel.cpp b/src/client/buffermodel.cpp index 9c8df06f..de415503 100644 --- a/src/client/buffermodel.cpp +++ b/src/client/buffermodel.cpp @@ -20,19 +20,19 @@ #include "buffermodel.h" +#include + #include "client.h" -#include "global.h" #include "mappedselectionmodel.h" #include "networkmodel.h" - -#include +#include "quassel.h" BufferModel::BufferModel(NetworkModel *parent) : QSortFilterProxyModel(parent), _selectionModelSynchronizer(this) { setSourceModel(parent); - if(Global::parser.isSet("debugbufferswitches")) { + if(Quassel::isOptionSet("debugbufferswitches")) { connect(_selectionModelSynchronizer.selectionModel(), SIGNAL(currentChanged(const QModelIndex &, const QModelIndex &)), this, SLOT(debug_currentChanged(const QModelIndex &, const QModelIndex &))); }