Skip to content
Snippets Groups Projects
Commit 49c41c53 authored by bodzsoaa's avatar bodzsoaa
Browse files

Rename readPendingDatagrams

parent ba1d3ab4
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ class LIBMUEB_EXPORT MuebReceiver final : public QObject {
explicit MuebReceiver(QObject* parent = nullptr);
~MuebReceiver();
void readPendingDatagrams();
void ReadPendingDatagrams();
};
#endif // LIBMUEB_MUEBRECEIVER_H_
......@@ -20,7 +20,7 @@ inline void datagram_uncompress_error() {
"or packet contents(size)";
}
void MuebReceiver::readPendingDatagrams() {
void MuebReceiver::ReadPendingDatagrams() {
while (d_ptr_->socket.hasPendingDatagrams()) {
if (d_ptr_->socket.pendingDatagramSize() ==
d_ptr_->configuration.packet_size()) {
......
......@@ -17,7 +17,7 @@ class MuebReceiverPrivate {
socket.bind(configuration.broadcast_animation_port());
QObject::connect(&socket, &QUdpSocket::readyRead, q,
&MuebReceiver::readPendingDatagrams);
&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