X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fbufferviewoverlayfilter.cpp;h=4309ee91b859217b88554af93f42a6646d039655;hb=d78f81499929e410682315d825f965488356e748;hp=992ab6c9abc1a087bede38d747991e8a847b14dc;hpb=e2204c43143e60b5e99f9247117a7c0099a3936d;p=quassel.git diff --git a/src/uisupport/bufferviewoverlayfilter.cpp b/src/uisupport/bufferviewoverlayfilter.cpp index 992ab6c9..4309ee91 100644 --- a/src/uisupport/bufferviewoverlayfilter.cpp +++ b/src/uisupport/bufferviewoverlayfilter.cpp @@ -83,10 +83,6 @@ bool BufferViewOverlayFilter::filterAcceptsRow(int source_row, const QModelIndex if(_overlay->minimumActivity() > activityLevel) return false; - bool isActive = sourceModel()->data(source_bufferIndex, NetworkModel::ItemActiveRole).toBool(); - if(_overlay->hideInactiveBuffers() && !isActive && activityLevel <= BufferInfo::OtherActivity) - return false; - int bufferType = sourceModel()->data(source_bufferIndex, NetworkModel::BufferTypeRole).toInt(); if(!(_overlay->allowedBufferTypes() & bufferType)) return false; @@ -104,6 +100,7 @@ bool BufferViewOverlayFilter::filterAcceptsRow(int source_row, const QModelIndex return false; // the buffer is not known to us - return _overlay->addBuffersAutomatically(); + qDebug() << "BufferViewOverlayFilter::filterAcceptsRow()" << bufferId << "is unknown!"; + return false; }