X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fnetworkmodel.cpp;h=fbf84c4faa6c3c7aec5c29b71e9f0d19f76303c5;hb=1a128cd0ec1bb913e6d5fb4832834ba75abcfe32;hp=b5c21c41685df6cd57acd0529ba7986a0ce28352;hpb=3a0953ec32f41214b5a86dc6e5c8fd5d8563c42c;p=quassel.git diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index b5c21c41..fbf84c4f 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -24,14 +24,12 @@ #include // for Qt::escape() #include "buffermodel.h" +#include "buffersettings.h" #include "client.h" -#include "signalproxy.h" -#include "network.h" +#include "clientsettings.h" #include "ircchannel.h" - -#include "buffersettings.h" - -#include "util.h" // get rid of this (needed for isChannelName) +#include "network.h" +#include "signalproxy.h" /***************************************** * Network Items @@ -490,8 +488,8 @@ QString ChannelBufferItem::toolTip(int column) const { toolTip.append(tr("Mode: %1").arg(channelMode)); } - BufferSettings s; - bool showTopic = s.value("DisplayTopicInTooltip", QVariant(false)).toBool(); + ItemViewSettings s; + bool showTopic = s.displayTopicInTooltip(); if(showTopic) { QString _topic = topic(); if(_topic != "") { @@ -829,7 +827,7 @@ NetworkModel::NetworkModel(QObject *parent) QListNetworkModel::defaultHeader() { QList data; - data << tr("Buffer") << tr("Topic") << tr("Nick Count"); + data << tr("Chat") << tr("Topic") << tr("Nick Count"); return data; }