fixed compiler warnings

This commit is contained in:
Max-Wilhelm Bruker 2009-09-09 17:23:41 +02:00
parent 33e47c2653
commit 117a77655b
2 changed files with 7 additions and 7 deletions

View file

@ -39,7 +39,7 @@ Player::Player(const QString &_name, int _id, bool _local, CardDatabase *_db, Cl
table = new TableZone(this, this);
connect(table, SIGNAL(sizeChanged()), this, SLOT(updateBoundingRect()));
hand = new HandZone(this, table->boundingRect().height(), this);
hand = new HandZone(this, (int) table->boundingRect().height(), this);
base = QPointF(deck->boundingRect().width() + 60, 0);
hand->setPos(base);