fixed type specify in data receiver c++17 again
This commit is contained in:
parent
59dfbebfc3
commit
d99cd33de6
@ -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);
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user