nicer looking counters on cards

This commit is contained in:
Max-Wilhelm Bruker 2010-06-17 21:54:05 +02:00
parent f33abf14ca
commit 9f79bd2c8e
5 changed files with 12 additions and 7 deletions

View file

@ -34,7 +34,7 @@ void CardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QColor color;
color.setHsv(counterIterator.key() * 60, 150, 255);
paintNumberEllipse(counterIterator.value(), 14, color, i, painter);
paintNumberEllipse(counterIterator.value(), 14, color, i, counters.size(), painter);
++i;
}
if (!pt.isEmpty()) {