don't waste bandwidth with spaces or default-value items

This commit is contained in:
Max-Wilhelm Bruker 2011-01-13 15:02:13 +01:00
parent f07bb38e4a
commit 714a0eee50
7 changed files with 15 additions and 9 deletions

View file

@ -148,7 +148,7 @@ public:
static FileFormat getFormatFromNameFilter(const QString &selectedNameFilter);
void cleanList();
bool isEmpty() const;
bool isEmpty() const { return root->isEmpty() && name.isEmpty() && comments.isEmpty() && sideboardPlans.isEmpty(); }
InnerDecklistNode *getRoot() const { return root; }
DecklistCardNode *addCard(const QString &cardName, const QString &zoneName);