sort edit sets better (#2648)

This commit is contained in:
ctrlaltca 2017-04-25 17:40:47 +02:00 committed by Zach H
parent 160d66d890
commit 3c54499a40
2 changed files with 16 additions and 4 deletions

View file

@ -27,6 +27,7 @@ private:
QSet<CardSet *> enabledSets;
public:
enum SetsColumns { SortKeyCol, IsKnownCol, EnabledCol, LongNameCol, ShortNameCol, SetTypeCol, ReleaseDateCol };
enum Role { SortRole=Qt::UserRole };
SetsModel(CardDatabase *_db, QObject *parent = 0);
~SetsModel();