Call QSortFilterProxyModel::invalidate instead of invalidateRowsFilter (public vs. protected API)

This commit is contained in:
Dan Paulat 2025-05-05 21:49:41 -05:00
parent 1fdefe83de
commit 86926178df

View file

@ -102,10 +102,9 @@ void AlertProxyModel::Impl::UpdateAlerts()
// Re-evaluate for expired alerts
if (alertActiveFilterEnabled_)
{
QMetaObject::invokeMethod(
self_,
static_cast<void (QSortFilterProxyModel::*)()>(
&QSortFilterProxyModel::invalidateRowsFilter));
QMetaObject::invokeMethod(self_,
static_cast<void (QSortFilterProxyModel::*)()>(
&QSortFilterProxyModel::invalidate));
}
using namespace std::chrono;