mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 04:23:55 -07:00
Change "Show full" "Show running" checkboxes to a single box
IMO these should not have been split
This commit is contained in:
parent
a7f3ce4050
commit
eebc615c1c
4 changed files with 20 additions and 36 deletions
|
|
@ -29,12 +29,10 @@ public:
|
|||
class GamesProxyModel : public QSortFilterProxyModel {
|
||||
Q_OBJECT
|
||||
private:
|
||||
bool fullGamesVisible;
|
||||
bool runningGamesVisible;
|
||||
bool unjoinableGamesVisible;
|
||||
public:
|
||||
GamesProxyModel(QObject *parent = 0);
|
||||
void setFullGamesVisible(bool _fullGamesVisible);
|
||||
void setRunningGamesVisible(bool _runningGamesVisible);
|
||||
void setUnjoinableGamesVisible(bool _unjoinableGamesVisible);
|
||||
protected:
|
||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue