mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
event handling
This commit is contained in:
parent
e796af2b89
commit
77015c9ebf
34 changed files with 891 additions and 855 deletions
|
|
@ -125,6 +125,9 @@ void TabSupervisor::processChatEvent(ChatEvent *event)
|
|||
void TabSupervisor::processGameEvent(GameEvent *event)
|
||||
{
|
||||
TabGame *tab = gameTabs.value(event->getGameId());
|
||||
if (tab)
|
||||
if (tab) {
|
||||
qDebug() << "gameEvent gameId =" << event->getGameId();
|
||||
tab->processGameEvent(event);
|
||||
} else
|
||||
qDebug() << "gameEvent: invalid gameId";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue