From b8b4c167d2da415f756e05e269a575595d04d6c7 Mon Sep 17 00:00:00 2001 From: Christian Ratzenhofer Date: Tue, 23 Dec 2014 23:38:47 +0100 Subject: [PATCH] Set the version of the QDataStream in ClientAuthHandler --- src/client/clientauthhandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/clientauthhandler.cpp b/src/client/clientauthhandler.cpp index d5112d16..15652dd4 100644 --- a/src/client/clientauthhandler.cpp +++ b/src/client/clientauthhandler.cpp @@ -169,6 +169,7 @@ void ClientAuthHandler::onSocketConnected() _probing = true; QDataStream stream(socket()); // stream handles the endianness for us + stream.setVersion(QDataStream::Qt_4_2); quint32 magic = Protocol::magic; #ifdef HAVE_SSL -- 2.20.1