diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2021-12-01 13:18:39 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-02 13:03:28 +0000 |
commit | 446d2f7000d66e935d8c87595b1cf0ee37b395d1 (patch) | |
tree | e5043f246d8ad8db7b294317236a7136861d99dc | |
parent | ecf5e1a6220331c407159f78d4b3b80d1602d0f0 (diff) | |
download | qttools-446d2f7000d66e935d8c87595b1cf0ee37b395d1.tar.gz |
qtdiag: Fix printing in hex in the rhi section
No need for hexadecimal there.
Change-Id: I5b9380f387bdedbf99933e749b58ebee4857558a
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
(cherry picked from commit 7eb1261f8091b30cbc1c71fe3704811febb52312)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/qtdiag/qtdiag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp index 5f945064f..882d81051 100644 --- a/src/qtdiag/qtdiag.cpp +++ b/src/qtdiag/qtdiag.cpp @@ -156,7 +156,7 @@ QTextStream &operator<<(QTextStream &str, const QRhiDriverInfo &info) }; str << "Device: " << info.deviceName << " Device ID: 0x" << Qt::hex << info.deviceId - << " Vendor ID: 0x" << info.vendorId + << " Vendor ID: 0x" << info.vendorId << Qt::dec << " Device type: " << (size_t(info.deviceType) < sizeof(enumValues) / sizeof(enumValues[0]) ? enumValues[info.deviceType] : "<Unknown>"); return str; |