mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
deck editor
This commit is contained in:
parent
3502ec80e4
commit
1da5c63726
9 changed files with 349 additions and 256 deletions
|
|
@ -11,15 +11,13 @@ CardDatabaseModel::~CardDatabaseModel()
|
|||
|
||||
}
|
||||
|
||||
int CardDatabaseModel::rowCount(const QModelIndex &parent) const
|
||||
int CardDatabaseModel::rowCount(const QModelIndex &/*parent*/) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return cardList.size();
|
||||
}
|
||||
|
||||
int CardDatabaseModel::columnCount(const QModelIndex &parent) const
|
||||
int CardDatabaseModel::columnCount(const QModelIndex &/*parent*/) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return 5;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue