mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
WIP: refactor filters to save to persistence from within model.
This commit is contained in:
parent
6a4384f903
commit
dbfbfcc837
4 changed files with 29 additions and 29 deletions
|
|
@ -73,7 +73,7 @@ public:
|
|||
void setMaxPlayersFilter(int _maxPlayersFilterMin, int _maxPlayersFilterMax);
|
||||
void resetFilterParameters();
|
||||
void loadFilterParameters(const QMap<int, QString> &allGameTypes);
|
||||
void saveFilterParameters();
|
||||
void saveFilterParameters(const QMap<int, QString> &allGameTypes);
|
||||
protected:
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue