diff --git a/hit2023v2/datareceiver.cpp b/hit2023v2/datareceiver.cpp index 35527db..578552b 100644 --- a/hit2023v2/datareceiver.cpp +++ b/hit2023v2/datareceiver.cpp @@ -97,13 +97,13 @@ void DataReceiver::onInit() if (dataSocket == NULL) { dataSocket = new QUdpSocket(this); - connect(dataSocket, QUdpSocket::readyRead, this, DataReceiver::readData); + connect(dataSocket, &QUdpSocket::readyRead, this, &DataReceiver::readData); } if (timer == NULL) { timer = new QTimer(this); - connect(timer, QTimer::timeout, this, onTimer); + connect(timer, &QTimer::timeout, this, &DataReceiver::onTimer); timer->start(RECEIVER_TIMER_PERIOD_MS); } diff --git a/hit2023v2/release/hit2023v2.exe b/hit2023v2/release/hit2023v2.exe index f29277d..85afb72 100644 Binary files a/hit2023v2/release/hit2023v2.exe and b/hit2023v2/release/hit2023v2.exe differ