From ccd28abd548de45b1e6052504ccdbf97df45edd4 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Wed, 16 May 2018 17:12:15 +0300 Subject: [PATCH] Corrected function-member "ReadyRead". --- src/network.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/network.cpp b/src/network.cpp index 4254a26..318a845 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -29,7 +29,6 @@ class Network { QByteArray buffer; buffer.resize(socket->pendingDatagramSize()); - QHostAddress sender; socket->readDatagram(buffer.data(), buffer.size(), &sender;, &senderPort;); qDebug() << "Message from: " << sender.toString();