From f18927a82f4ee69b3c300de453f4fdcffcf5c9c5 Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 20 Oct 2021 18:25:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QCPShow.pro.user | 2 +- mainwidget.cpp | 1 + websocketservice.cpp | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/QCPShow.pro.user b/QCPShow.pro.user index 0302d36..7310f0d 100644 --- a/QCPShow.pro.user +++ b/QCPShow.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/mainwidget.cpp b/mainwidget.cpp index 346f394..f5a30b5 100644 --- a/mainwidget.cpp +++ b/mainwidget.cpp @@ -22,6 +22,7 @@ MainWidget::MainWidget(QWidget *parent) : info->realCountDownInSeconds--; } } + updateUi(); }); //切换病人 diff --git a/websocketservice.cpp b/websocketservice.cpp index 772a87d..a6b9a83 100644 --- a/websocketservice.cpp +++ b/websocketservice.cpp @@ -115,10 +115,11 @@ void WebsocketService::onTextMessageReceived(const QString &message) void WebsocketService::handleWsButtonStartMsg(QJsonObject jobj) { + qDebug()<