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:
{
_firstUnreadMsgId = MsgId();
// FIXME remove with core proto v11
- if(!Client::coreFeatures() & Quassel::SynchronizedMarkerLine) {
+ if(!(Client::coreFeatures() & Quassel::SynchronizedMarkerLine)) {
_markerLineMsgId = _lastSeenMsgId;
}
_lastSeenMsgId = msgId;
// FIXME remove with core protocol v11
- if(!Client::coreFeatures() & Quassel::SynchronizedMarkerLine) {
+ if(!(Client::coreFeatures() & Quassel::SynchronizedMarkerLine)) {
if(!isCurrentBuffer())
_markerLineMsgId = msgId;
}