X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=d74543167daf21cea4443117e79a44a85a9097df;hp=6bc96f80237115ef99ac7eb9747e83f4593f67f3;hb=6f4a6454e49db703bd6336f575bbbeff95388404;hpb=541013790cdbd0c32d81debf8f42ac6b5183a4aa diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 6bc96f80..d7454316 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -108,7 +108,7 @@ BufferItem *NetworkItem::bufferItem(const BufferInfo &bufferInfo) { newChild(bufferItem); - // postprocess... this is necessary because Qt doesn't seem to like adding childs which already have childs on their own + // postprocess... this is necessary because Qt doesn't seem to like adding children which already have children on their own switch(bufferInfo.type()) { case BufferInfo::ChannelBuffer: { @@ -235,7 +235,7 @@ void BufferItem::clearActivityLevel() { _firstUnreadMsgId = MsgId(); // FIXME remove with core proto v11 - if(!Client::coreFeatures() & Quassel::SynchronizedMarkerLine) { + if(!(Client::coreFeatures() & Quassel::SynchronizedMarkerLine)) { _markerLineMsgId = _lastSeenMsgId; } @@ -319,7 +319,7 @@ void BufferItem::setLastSeenMsgId(MsgId msgId) { _lastSeenMsgId = msgId; // FIXME remove with core protocol v11 - if(!Client::coreFeatures() & Quassel::SynchronizedMarkerLine) { + if(!(Client::coreFeatures() & Quassel::SynchronizedMarkerLine)) { if(!isCurrentBuffer()) _markerLineMsgId = msgId; } @@ -424,7 +424,7 @@ QString QueryBufferItem::toolTip(int column) const { toolTip.append(tr("Query with %1").arg(bufferName())); if(_ircUser) { - if(_ircUser->userModes() != "") toolTip[0].append(QString(" (%1)").arg(_ircUser->userModes())); + if(_ircUser->userModes() != "") toolTip[0].append(QString(" (+%1)").arg(_ircUser->userModes())); if(_ircUser->isAway()) { toolTip[0].append(QString(" (away%1)").arg(!_ircUser->awayMessage().isEmpty() ? (QString(" ") + _ircUser->awayMessage()) : QString())); }