mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Switch to lightweight function for filtering data
We can use this function since the columns doesn't change. PR #20518.
This commit is contained in:
@@ -39,7 +39,7 @@ LogFilterModel::LogFilterModel(const Log::MsgTypes types, QObject *parent)
|
||||
void LogFilterModel::setMessageTypes(const Log::MsgTypes types)
|
||||
{
|
||||
m_types = types;
|
||||
invalidateFilter();
|
||||
invalidateRowsFilter();
|
||||
}
|
||||
|
||||
bool LogFilterModel::filterAcceptsRow(const int sourceRow, const QModelIndex &sourceParent) const
|
||||
|
||||
Reference in New Issue
Block a user