Set the version of the QDataStream in ClientAuthHandler 105/head
authorChristian Ratzenhofer <christian.ratzenhofer@cdnm.at>
Tue, 23 Dec 2014 22:38:47 +0000 (23:38 +0100)
committerChristian Ratzenhofer <christian.ratzenhofer@cdnm.at>
Tue, 23 Dec 2014 22:38:47 +0000 (23:38 +0100)
src/client/clientauthhandler.cpp

index d5112d1..15652dd 100644 (file)
@@ -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