From 008355ffeb327cb71f44bf5ce699cdd0d0b8e2c6 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 26 Aug 2018 01:08:33 +0000 Subject: [PATCH] Minor fix git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5495 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- SingleApplication/singleapplication_p.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SingleApplication/singleapplication_p.cpp b/SingleApplication/singleapplication_p.cpp index c4c0d75fc..56e31265f 100644 --- a/SingleApplication/singleapplication_p.cpp +++ b/SingleApplication/singleapplication_p.cpp @@ -207,7 +207,7 @@ void SingleApplicationPrivate::connectToPrimary( int msecs, ConnectionType conne // Notify the parent that a new instance had been started; QByteArray initMsg; QDataStream writeStream(&initMsg, QIODevice::WriteOnly); - writeStream.setVersion(QDataStream::Qt_5_6); + writeStream.setVersion(QDataStream::Qt_5_5); writeStream << blockServerName.toLatin1(); writeStream << static_cast(connectionType); writeStream << instanceNumber; @@ -217,7 +217,7 @@ void SingleApplicationPrivate::connectToPrimary( int msecs, ConnectionType conne // The header indicates the message length that follows QByteArray header; QDataStream headerStream(&header, QIODevice::WriteOnly); - headerStream.setVersion(QDataStream::Qt_5_6); + headerStream.setVersion(QDataStream::Qt_5_5); headerStream << static_cast ( initMsg.length() ); socket->write( header );