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 +