mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
[Cards] Use emoji to indicate artist attribution
This commit is contained in:
parent
587c4b43c1
commit
c9540f1e07
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ QString buildArtAttribution(const ExactCard &card)
|
||||||
if (artist.isEmpty()) {
|
if (artist.isEmpty()) {
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
return QObject::tr("Art: %1").arg(artist);
|
return QString("✎ %1").arg(artist);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRectF paintArtAttribution(QPainter &painter,
|
QRectF paintArtAttribution(QPainter &painter,
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ class QString;
|
||||||
* database has no artist data for the card.
|
* database has no artist data for the card.
|
||||||
*
|
*
|
||||||
* @param card The card whose art is being displayed.
|
* @param card The card whose art is being displayed.
|
||||||
* @return Caption such as "Art: John Avon", or empty.
|
* @return Caption such as "✎ John Avon", or empty.
|
||||||
*/
|
*/
|
||||||
QString buildArtAttribution(const ExactCard &card);
|
QString buildArtAttribution(const ExactCard &card);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue