X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=87801d42a814d2188a3f144dd0f4a001eed73e57;hp=b5c21c41685df6cd57acd0529ba7986a0ce28352;hb=64bc0567e3fe373ab996a23ed690ec5631bb417f;hpb=d7e94af265bd78598bf52ce5fde6c7a1eba9e149 diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index b5c21c41..87801d42 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 != "") {