99 const QString n = name.trimmed();
101 if (n.compare(
"Standard", Qt::CaseInsensitive) == 0)
103 if (n.compare(
"Modern", Qt::CaseInsensitive) == 0)
105 if (n.compare(
"Commander", Qt::CaseInsensitive) == 0)
107 if (n.compare(
"Legacy", Qt::CaseInsensitive) == 0)
109 if (n.compare(
"Vintage", Qt::CaseInsensitive) == 0)
111 if (n.compare(
"Pauper", Qt::CaseInsensitive) == 0)
113 if (n.compare(
"Custom", Qt::CaseInsensitive) == 0)
115 if (n.compare(
"Frontier", Qt::CaseInsensitive) == 0)
117 if (n.compare(
"Future Std", Qt::CaseInsensitive) == 0)
119 if (n.compare(
"Penny Dreadful", Qt::CaseInsensitive) == 0)
121 if (n.compare(
"1v1 Commander", Qt::CaseInsensitive) == 0)
123 if (n.compare(
"Dual Commander", Qt::CaseInsensitive) == 0)
125 if (n.compare(
"Brawl", Qt::CaseInsensitive) == 0)
128 if (n.compare(
"Alchemy", Qt::CaseInsensitive) == 0)
130 if (n.compare(
"Historic", Qt::CaseInsensitive) == 0)
132 if (n.compare(
"Gladiator", Qt::CaseInsensitive) == 0)
134 if (n.compare(
"Oathbreaker", Qt::CaseInsensitive) == 0)
136 if (n.compare(
"Old School", Qt::CaseInsensitive) == 0)
138 if (n.compare(
"Pauper Commander", Qt::CaseInsensitive) == 0)
140 if (n.compare(
"Pioneer", Qt::CaseInsensitive) == 0)
142 if (n.compare(
"PreDH", Qt::CaseInsensitive) == 0)
144 if (n.compare(
"Premodern", Qt::CaseInsensitive) == 0)
146 if (n.compare(
"Standard Brawl", Qt::CaseInsensitive) == 0)
148 if (n.compare(
"Timeless", Qt::CaseInsensitive) == 0)