Skip to content
Snippets Groups Projects
Commit 606b55e4 authored by bodzsoaa's avatar bodzsoaa
Browse files

Fix connect

parent aea1cc42
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@ class MuebReceiverPrivate {
: frame(configuration.frame()), q_ptr(receiver) {
socket.bind(configuration.broadcast_animation_port());
receiver->connect(&socket, &QUdpSocket::readyRead,
&MuebReceiver::ReadPendingDatagrams);
QObject::connect(&socket, &QUdpSocket::readyRead, receiver,
&MuebReceiver::ReadPendingDatagrams);
qInfo() << "[MuebReceiver] UDP Socket will receive packets on port"
<< configuration.broadcast_animation_port();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment