summaryrefslogtreecommitdiff
path: root/examples/serialport/enumerator/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/serialport/enumerator/main.cpp')
-rw-r--r--examples/serialport/enumerator/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/serialport/enumerator/main.cpp b/examples/serialport/enumerator/main.cpp
index fef1ce0..ee21351 100644
--- a/examples/serialport/enumerator/main.cpp
+++ b/examples/serialport/enumerator/main.cpp
@@ -70,8 +70,7 @@ int main(int argc, char *argv[])
+ QObject::tr("Manufacturer: ") + info.manufacturer() + "\n"
+ QObject::tr("Serial number: ") + info.serialNumber() + "\n"
+ QObject::tr("Vendor Identifier: ") + (info.hasVendorIdentifier() ? QString::number(info.vendorIdentifier(), 16) : QString()) + "\n"
- + QObject::tr("Product Identifier: ") + (info.hasProductIdentifier() ? QString::number(info.productIdentifier(), 16) : QString()) + "\n"
- + QObject::tr("Busy: ") + (info.isBusy() ? QObject::tr("Yes") : QObject::tr("No")) + "\n";
+ + QObject::tr("Product Identifier: ") + (info.hasProductIdentifier() ? QString::number(info.productIdentifier(), 16) : QString()) + "\n";
auto label = new QLabel(s);
layout->addWidget(label);