X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatmonitorfilter.cpp;h=b46dd29cce0126f7c4bf1da7bd3dbac4a1d736eb;hp=9bbed8c0f85969ea90132eb7d16c1c531cdf193e;hb=e3ed29ad5b799fa1425c137d2296f48ce5995a5b;hpb=934ff82a6554ea72ea449c561f53804dbafc20f0 diff --git a/src/qtui/chatmonitorfilter.cpp b/src/qtui/chatmonitorfilter.cpp index 9bbed8c0..b46dd29c 100644 --- a/src/qtui/chatmonitorfilter.cpp +++ b/src/qtui/chatmonitorfilter.cpp @@ -78,9 +78,9 @@ bool ChatMonitorFilter::filterAcceptsRow(int sourceRow, const QModelIndex &sourc // ignorelist handling // only match if message is not flagged as server msg - if(!(flags & Message::ServerMsg) && - Client::ignoreListManager()->match(source_index.data(MessageModel::MessageRole).value(), Client::networkModel()->networkName(bufferId))) - return false; + if(!(flags & Message::ServerMsg) && Client::ignoreListManager() + && Client::ignoreListManager()->match(source_index.data(MessageModel::MessageRole).value(), Client::networkModel()->networkName(bufferId))) + return false; return true; } @@ -165,5 +165,5 @@ void ChatMonitorFilter::buffersSettingChanged(const QVariant &newValue) { foreach (QVariant v, newValue.toList()) { _bufferIds << v.value(); } - invalidate(); + invalidateFilter(); }