setDoesntUntap fixed, card menu moved to player to avoid unnecessary allocation of QActions

This commit is contained in:
Max-Wilhelm Bruker 2012-02-20 17:26:46 +01:00
parent 8af0f01db8
commit 7cec442694
5 changed files with 283 additions and 307 deletions

View file

@ -335,10 +335,9 @@ void TabSupervisor::processRoomEvent(const RoomEvent &event)
void TabSupervisor::processGameEventContainer(const GameEventContainer &cont)
{
TabGame *tab = gameTabs.value(cont.game_id());
if (tab) {
qDebug() << "gameEvent gameId =" << cont.game_id();
if (tab)
tab->processGameEventContainer(cont, qobject_cast<AbstractClient *>(sender()));
} else
else
qDebug() << "gameEvent: invalid gameId";
}