Minor fixes to A8 to keep GCC happy

This commit is contained in:
Tuomas Järvinen
2024-07-04 15:27:31 +03:00
parent 89c68aeb67
commit 0bec8369e3
5 changed files with 13 additions and 11 deletions
+6 -5
View File
@@ -1,16 +1,17 @@
#include "remoteControl.hpp"
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <QCoreApplication>
#include <QDebug>
#include <QJsonDocument>
#include <QJsonObject>
#include <QObject>
#include <QTimer>
#include <QUdpSocket>
#include "config.hpp"
#include "defines.hpp"
#include "utilsTargetLocation.hpp"
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include "remoteControl.hpp"
RemoteControl::RemoteControl(QObject *parent)
: QObject{parent}
@@ -47,7 +48,7 @@ void RemoteControl::readPendingDatagrams()
void RemoteControl::processJSON(QJsonDocument commandDoc)
{
mIsBusy = true;
qDebug().noquote().nospace() << "Received: " << commandDoc.toJson().toStdString();
qDebug().noquote().nospace() << "Received: " << QString(commandDoc.toJson());
QJsonObject commandObject = commandDoc.object();