Replaced deprecated QSortFilterProxyModel::filterChanged by QSortFilterProxyModel::invalidateFilter

This commit is contained in:
thunder2 2025-07-22 15:19:13 +02:00
parent d4dcaaa41a
commit c00a4dccb5

View file

@ -44,7 +44,7 @@ pgpid_item_proxy::pgpid_item_proxy(QObject *parent) :
void pgpid_item_proxy::use_only_trusted_keys(bool val) void pgpid_item_proxy::use_only_trusted_keys(bool val)
{ {
only_trusted_keys = val; only_trusted_keys = val;
filterChanged(); invalidateFilter();
} }
bool pgpid_item_proxy::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const bool pgpid_item_proxy::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const