diff --git a/MainWindow.cpp b/MainWindow.cpp index b648ab5..5c4baf2 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -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)); } } diff --git a/WaintingForTirette.cpp b/WaintingForTirette.cpp index e312a66..0a21af1 100644 --- a/WaintingForTirette.cpp +++ b/WaintingForTirette.cpp @@ -42,6 +42,7 @@ void WaintingForTirette::responseFromTirette(const std::string& response) if (list[3] == "0") { + qInfo() << "Game should start"; emit startGame(); } }