mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 08:52:19 -07:00
cleanups
This commit is contained in:
parent
2b619b1af9
commit
1299df24b9
3 changed files with 2 additions and 3 deletions
|
|
@ -12,7 +12,6 @@
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QVariant>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ QVariant CardInfoComparator::getProperty(const CardInfoPtr &card, const QString
|
||||||
return card->getIsToken();
|
return card->getIsToken();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise, check if it's a custom property in the QVariantHash
|
// Otherwise, check if it's a custom property in the properties hash
|
||||||
if (card->hasProperty(property)) {
|
if (card->hasProperty(property)) {
|
||||||
return card->getProperty(property);
|
return card->getProperty(property);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue