Sets: case insensitive sorting
This commit is contained in:
parent
53de2db89c
commit
075c743a17
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ public:
|
|||
void setImport(bool _import) { import = _import; }
|
||||
SetToDownload(const QString &_shortName, const QString &_longName, const QVariant &_cards, bool _import)
|
||||
: shortName(_shortName), longName(_longName), cards(_cards), import(_import) { }
|
||||
bool operator<(const SetToDownload &set) const { return longName < set.longName; }
|
||||
bool operator<(const SetToDownload &set) const { return longName.compare(set.longName, Qt::CaseInsensitive) < 0; }
|
||||
};
|
||||
|
||||
class OracleImporter : public CardDatabase {
|
||||
|
|
Loading…
Reference in a new issue