mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
Style fix
This commit is contained in:
parent
286982350c
commit
f02f572dac
3 changed files with 15 additions and 11 deletions
|
|
@ -55,7 +55,7 @@ private:
|
|||
enum Attr a;
|
||||
|
||||
public:
|
||||
CardFilter(QString const &term, Type type, Attr attr) : trm(term), t(type), a(attr)
|
||||
CardFilter(const QString &term, Type type, Attr attr) : trm(term), t(type), a(attr)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ bool FilterItem::acceptSubType(const CardInfoPtr info) const
|
|||
return typeParts.size() > 1 && typeParts[1].contains(term, Qt::CaseInsensitive);
|
||||
}
|
||||
|
||||
static bool matchesColor(QString const &term, QString const &colors) {
|
||||
static bool matchesColor(const QString &term, const QString &colors) {
|
||||
QString converted_term = term.trimmed().toLower();
|
||||
|
||||
converted_term.replace("green", "g");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue