mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
added deckstats.net interface in deck editor, fixing issue #39
This commit is contained in:
parent
3ba3952604
commit
44d688b1d5
7 changed files with 99 additions and 1 deletions
|
|
@ -480,6 +480,14 @@ bool DeckList::saveToFile_Plain(QIODevice *device)
|
|||
return saveToStream_Plain(out);
|
||||
}
|
||||
|
||||
QString DeckList::writeToString_Plain()
|
||||
{
|
||||
QString result;
|
||||
QTextStream out(&result);
|
||||
saveToStream_Plain(out);
|
||||
return result;
|
||||
}
|
||||
|
||||
void DeckList::cleanList()
|
||||
{
|
||||
root->clearTree();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue