Multiple browser related fixes

This commit is contained in:
varjolintu authored and Janek Bevendorff committed 2018-01-20 00:47:26 +01:00
1 parent ee3ccf151a
commit 8ac909b0eb
12 files changed
+55 -37

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ void NativeMessagingBase::sendReply(const QJsonObject& json)
void NativeMessagingBase::sendReply(const QString& reply)
{
if (!reply.isEmpty()) {
uint len = reply.length();
uint len = reply.length();
std::cout << char(((len>>0) & 0xFF)) << char(((len>>8) & 0xFF)) << char(((len>>16) & 0xFF)) << char(((len>>24) & 0xFF));
std::cout << reply.toStdString() << std::flush;
}