cipt code

This commit is contained in:
Max-Wilhelm Bruker 2010-03-01 21:19:20 +01:00
parent 888a64b0fd
commit 388e9255c7
10 changed files with 73 additions and 41 deletions

View file

@ -173,8 +173,11 @@ void CardItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
if (tz)
tz->toggleTapped();
else {
bool faceDown = event->modifiers().testFlag(Qt::ShiftModifier);
bool tapped = info->getCipt();
TableZone *table = zone->getPlayer()->getTable();
QPoint gridPoint = table->getFreeGridPoint(info->getTableRow());
table->handleDropEventByGrid(id, zone, gridPoint, false);
table->handleDropEventByGrid(id, zone, gridPoint, faceDown, tapped);
}
}