From d1f09f1f478f4981447dbb601a730659c27962c4 Mon Sep 17 00:00:00 2001 From: feiyangqingyun Date: Mon, 8 Mar 2021 09:10:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=A4=A7=E9=87=8Fdemo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ntpclient/frmntpclient.cpp | 1 + ntpclient/frmntpclient.ui | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ntpclient/frmntpclient.cpp b/ntpclient/frmntpclient.cpp index 0f26473..681aa90 100644 --- a/ntpclient/frmntpclient.cpp +++ b/ntpclient/frmntpclient.cpp @@ -7,6 +7,7 @@ frmNtpClient::frmNtpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmNtpClient) { ui->setupUi(this); + ui->txtNtpIP->setText("ntp1.aliyun.com"); connect(NtpClient::Instance(), SIGNAL(receiveTime(QDateTime)), this, SLOT(receiveTime(QDateTime))); } diff --git a/ntpclient/frmntpclient.ui b/ntpclient/frmntpclient.ui index ac6e8db..b036583 100644 --- a/ntpclient/frmntpclient.ui +++ b/ntpclient/frmntpclient.ui @@ -13,13 +13,13 @@ Form - + 10 10 - 321 - 48 + 381 + 51 @@ -33,7 +33,7 @@ - 133.100.11.8 +