Qt/GameList: Ensure resort when new entries are added
This commit is contained in:
parent
28138cfde9
commit
7db86c20d0
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
ListProxyModel::ListProxyModel(QObject* parent) : QSortFilterProxyModel(parent)
|
ListProxyModel::ListProxyModel(QObject* parent) : QSortFilterProxyModel(parent)
|
||||||
{
|
{
|
||||||
|
setDynamicSortFilter(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ListProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const
|
bool ListProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const
|
||||||
|
|
Loading…
Reference in New Issue