mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-12 21:44:18 -07:00
One more single line if.
Took 1 minute
This commit is contained in:
parent
fc43df35b4
commit
599d20c61d
1 changed files with 2 additions and 1 deletions
|
|
@ -29,8 +29,9 @@ QVariant DeckListStyleProxy::data(const QModelIndex &index, int role) const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (role == Qt::ForegroundRole)
|
if (role == Qt::ForegroundRole) {
|
||||||
return QBrush(QColor(0, 0, 0));
|
return QBrush(QColor(0, 0, 0));
|
||||||
|
}
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue