mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-27 00:53:55 -07:00
fixed packet length calculation bug, re-enabled deck selection
This commit is contained in:
parent
314f17091d
commit
38e4781624
7 changed files with 30 additions and 11 deletions
|
|
@ -139,6 +139,7 @@ public:
|
|||
static const QStringList fileNameFilters;
|
||||
DeckList();
|
||||
DeckList(DeckList *other);
|
||||
DeckList(const QString &nativeString);
|
||||
~DeckList();
|
||||
QString getName() const { return name; }
|
||||
QString getComments() const { return comments; }
|
||||
|
|
@ -151,7 +152,7 @@ public:
|
|||
bool readElement(QXmlStreamReader *xml);
|
||||
void writeElement(QXmlStreamWriter *xml);
|
||||
void loadFromXml(QXmlStreamReader *xml);
|
||||
|
||||
QString writeToString_Native();
|
||||
bool loadFromFile_Native(QIODevice *device);
|
||||
bool saveToFile_Native(QIODevice *device);
|
||||
bool loadFromStream_Plain(QTextStream &stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue