Token dialog fixes (#3711)

* Token dialog fixes

* clangify

* edit custom tokens

* Fix in-game token dialog
This commit is contained in:
ctrlaltca 2019-05-09 09:37:27 +02:00 committed by GitHub
parent 3830c85ce6
commit 6c21855f98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 43 additions and 11 deletions

View file

@ -140,4 +140,15 @@ protected:
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
};
class TokenEditModel : public CardDatabaseDisplayModel
{
Q_OBJECT
public:
explicit TokenEditModel(QObject *parent = nullptr);
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
protected:
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
};
#endif