更新NTP时间校对
This commit is contained in:
@@ -18,7 +18,7 @@ NtpClient *NtpClient::Instance()
|
||||
|
||||
NtpClient::NtpClient(QObject *parent) : QObject(parent)
|
||||
{
|
||||
ntpIP = "202.120.2.101";
|
||||
ntpIP = "ntp1.aliyun.com";
|
||||
|
||||
udpSocket = new QUdpSocket(this);
|
||||
connect(udpSocket, SIGNAL(connected()), this, SLOT(sendData()));
|
||||
|
||||
Reference in New Issue
Block a user