mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
deck editor
This commit is contained in:
parent
9a277ccccf
commit
3502ec80e4
8 changed files with 304 additions and 86 deletions
|
|
@ -45,7 +45,7 @@ void DlgStartGame::actLoad()
|
|||
QStringList DlgStartGame::getDeckList() const
|
||||
{
|
||||
QStringList result;
|
||||
DeckList *deckList = tableModel->getDeckList();
|
||||
/* DeckList *deckList = tableModel->getDeckList();
|
||||
for (int i = 0; i < deckList->zoneCount(); i++) {
|
||||
DecklistZone *zone = deckList->getZoneByIndex(i);
|
||||
for (int j = 0; j < zone->size(); j++) {
|
||||
|
|
@ -54,5 +54,5 @@ QStringList DlgStartGame::getDeckList() const
|
|||
result << QString("%1%2").arg(zone->getName() == "side" ? "SB:" : "").arg(r->getCard());
|
||||
}
|
||||
}
|
||||
return result;
|
||||
*/ return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue