From 86926178dfae13916993a263fd8688062e575cee Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Mon, 5 May 2025 21:49:41 -0500 Subject: [PATCH] Call QSortFilterProxyModel::invalidate instead of invalidateRowsFilter (public vs. protected API) --- scwx-qt/source/scwx/qt/model/alert_proxy_model.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scwx-qt/source/scwx/qt/model/alert_proxy_model.cpp b/scwx-qt/source/scwx/qt/model/alert_proxy_model.cpp index 224f7400..dff55202 100644 --- a/scwx-qt/source/scwx/qt/model/alert_proxy_model.cpp +++ b/scwx-qt/source/scwx/qt/model/alert_proxy_model.cpp @@ -102,10 +102,9 @@ void AlertProxyModel::Impl::UpdateAlerts() // Re-evaluate for expired alerts if (alertActiveFilterEnabled_) { - QMetaObject::invokeMethod( - self_, - static_cast( - &QSortFilterProxyModel::invalidateRowsFilter)); + QMetaObject::invokeMethod(self_, + static_cast( + &QSortFilterProxyModel::invalidate)); } using namespace std::chrono;