diff options
Diffstat (limited to 'src/jsonclient.cpp')
-rw-r--r-- | src/jsonclient.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jsonclient.cpp b/src/jsonclient.cpp index b16fd96..40f8d0a 100644 --- a/src/jsonclient.cpp +++ b/src/jsonclient.cpp @@ -133,8 +133,7 @@ bool JsonClient::connectTCP(const QString& hostname, int port) connect(socket, SIGNAL(disconnected()), SLOT(handleSocketDisconnected())); Q_D(JsonClient); d->mStream.setDevice(socket); - connect(&d->mStream, SIGNAL(receive(const QJsonObject&)), - this, SIGNAL(receive(const QJsonObject&))); + connect(&d->mStream, SIGNAL(readyReadMessage()), this, SLOT(processMessages())); return d->mStream.send(d->mRegistrationMessage); } |