diff options
Diffstat (limited to 'src/serialbus/qmodbustcpserver_p.h')
-rw-r--r-- | src/serialbus/qmodbustcpserver_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialbus/qmodbustcpserver_p.h b/src/serialbus/qmodbustcpserver_p.h index 56c45e9..3e73de3 100644 --- a/src/serialbus/qmodbustcpserver_p.h +++ b/src/serialbus/qmodbustcpserver_p.h @@ -167,7 +167,7 @@ public: input >> transactionId >> protocolId >> bytesPdu >> unitId; qCDebug(QT_MODBUS_LOW) << "(TCP server) Request MBPA:" << "Transaction Id:" - << hex << transactionId << "Protocol Id:" << protocolId << "PDU bytes:" + << Qt::hex << transactionId << "Protocol Id:" << protocolId << "PDU bytes:" << bytesPdu << "Unit Id:" << unitId; // The length field is the byte count of the following fields, including the Unit @@ -224,7 +224,7 @@ public: }); } - QTcpServer *m_tcpServer; + QTcpServer *m_tcpServer { nullptr }; QVector<QTcpSocket *> connections; std::unique_ptr<QModbusTcpConnectionObserver> m_observer; |