fixed type specify in data receiver c++17 again

This commit is contained in:
Blake Leverington 2023-09-16 15:29:06 +02:00
parent 59dfbebfc3
commit d99cd33de6
2 changed files with 2 additions and 2 deletions

View File

@ -97,13 +97,13 @@ void DataReceiver::onInit()
if (dataSocket == NULL) if (dataSocket == NULL)
{ {
dataSocket = new QUdpSocket(this); dataSocket = new QUdpSocket(this);
connect(dataSocket, QUdpSocket::readyRead, this, DataReceiver::readData); connect(dataSocket, &QUdpSocket::readyRead, this, &DataReceiver::readData);
} }
if (timer == NULL) if (timer == NULL)
{ {
timer = new QTimer(this); timer = new QTimer(this);
connect(timer, QTimer::timeout, this, onTimer); connect(timer, &QTimer::timeout, this, &DataReceiver::onTimer);
timer->start(RECEIVER_TIMER_PERIOD_MS); timer->start(RECEIVER_TIMER_PERIOD_MS);
} }

Binary file not shown.