mirror of
https://github.com/modelec/ihm.git
synced 2026-03-18 21:30:52 +01:00
log
This commit is contained in:
@@ -208,9 +208,11 @@ void MainWindow::handleMessage(const std::string& message)
|
||||
{
|
||||
if (waitingForTiretteValue)
|
||||
{
|
||||
qInfo() << "Tirette change, start game";
|
||||
waintingForTirette->responseFromTirette(message);
|
||||
} else
|
||||
{
|
||||
qInfo() << "Tirette change, change the text";
|
||||
preparationMatch->responseTiretteState(QString::fromStdString(message));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ void WaintingForTirette::responseFromTirette(const std::string& response)
|
||||
|
||||
if (list[3] == "0")
|
||||
{
|
||||
qInfo() << "Game should start";
|
||||
emit startGame();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user