From 810f639f29b7cfd6ecdc5651f505725207825f46 Mon Sep 17 00:00:00 2001 From: CalciteM Date: Sun, 30 Jun 2019 11:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=B8=B8=E6=88=8F=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NineChess/src/gamecontroller.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NineChess/src/gamecontroller.cpp b/NineChess/src/gamecontroller.cpp index 58f6d9cf..7f878068 100644 --- a/NineChess/src/gamecontroller.cpp +++ b/NineChess/src/gamecontroller.cpp @@ -508,7 +508,7 @@ void GameController::timerEvent(QTimerEvent *event) emit statusBarChanged(message); // 弹框 - QMessageBox::about(NULL, "游戏结果", message); + //QMessageBox::about(NULL, "游戏结果", message); // 播放音效 #ifndef DONOT_PLAY_WIN_SOUND @@ -692,8 +692,8 @@ bool GameController::actionPiece(QPointF pos) ai2.stop(); // 弹框 - message = QString::fromStdString(chess_.getTips()); - QMessageBox::about(NULL, "游戏结果", message); + //message = QString::fromStdString(chess_.getTips()); + //QMessageBox::about(NULL, "游戏结果", message); } } } @@ -831,8 +831,8 @@ bool GameController::command(const QString &cmd, bool update /*= true*/) ai2.stop(); // 弹框 - message = QString::fromStdString(chess_.getTips()); - QMessageBox::about(NULL, "游戏结果", message); + //message = QString::fromStdString(chess_.getTips()); + //QMessageBox::about(NULL, "游戏结果", message); } } return true;