[qet] qet/qet: [5495] Minor fix |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5495
Author: scorpio810
Date: 2018-08-26 03:08:33 +0200 (Sun, 26 Aug 2018)
Log Message:
-----------
Minor fix
Modified Paths:
--------------
trunk/SingleApplication/singleapplication_p.cpp
Modified: trunk/SingleApplication/singleapplication_p.cpp
===================================================================
--- trunk/SingleApplication/singleapplication_p.cpp 2018-08-24 20:09:23 UTC (rev 5494)
+++ trunk/SingleApplication/singleapplication_p.cpp 2018-08-26 01:08:33 UTC (rev 5495)
@@ -207,7 +207,7 @@
// 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<quint8>(connectionType);
writeStream << instanceNumber;
@@ -217,7 +217,7 @@
// 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 <quint64>( initMsg.length() );
socket->write( header );