diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-06-20 11:41:05 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-06-24 09:51:01 +0200 |
commit | 65329501805b45765fbade4418f73d9e04c984c0 (patch) | |
tree | 9df267de66ba5c05a57cd9787fa0c5bea32fcfec /src/serialbus/qmodbuspdu.cpp | |
parent | 0c8a6c80e489e6ee4592f5dd5ca9a8bd568d9997 (diff) |
Fix Qt6 build
Added 'Qt::' prefixes where missing.
Change-Id: I97d5d9fa78d7c1feaef4caae72b735ea0625a081
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/serialbus/qmodbuspdu.cpp')
-rw-r--r-- | src/serialbus/qmodbuspdu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialbus/qmodbuspdu.cpp b/src/serialbus/qmodbuspdu.cpp index c42352d..ed78a69 100644 --- a/src/serialbus/qmodbuspdu.cpp +++ b/src/serialbus/qmodbuspdu.cpp @@ -439,7 +439,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ QDebug operator<<(QDebug debug, const QModbusPdu &pdu) { QDebugStateSaver _(debug); - debug.nospace().noquote() << "0x" << hex << qSetFieldWidth(2) << qSetPadChar('0') + debug.nospace().noquote() << "0x" << Qt::hex << qSetFieldWidth(2) << qSetPadChar('0') << (pdu.isException() ? pdu.functionCode() | QModbusPdu::ExceptionByte : pdu.functionCode()) << qSetFieldWidth(0) << pdu.data().toHex(); return debug; |