mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:20:06 +00:00
Call QSortFilterProxyModel::invalidate instead of invalidateRowsFilter (public vs. protected API)
This commit is contained in:
parent
1fdefe83de
commit
86926178df
1 changed files with 3 additions and 4 deletions
|
|
@ -102,10 +102,9 @@ void AlertProxyModel::Impl::UpdateAlerts()
|
||||||
// Re-evaluate for expired alerts
|
// Re-evaluate for expired alerts
|
||||||
if (alertActiveFilterEnabled_)
|
if (alertActiveFilterEnabled_)
|
||||||
{
|
{
|
||||||
QMetaObject::invokeMethod(
|
QMetaObject::invokeMethod(self_,
|
||||||
self_,
|
static_cast<void (QSortFilterProxyModel::*)()>(
|
||||||
static_cast<void (QSortFilterProxyModel::*)()>(
|
&QSortFilterProxyModel::invalidate));
|
||||||
&QSortFilterProxyModel::invalidateRowsFilter));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
using namespace std::chrono;
|
using namespace std::chrono;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue