diff options
author | Denis Shienkov <scapig@yandex.ru> | 2012-04-02 18:11:44 +0400 |
---|---|---|
committer | Denis Shienkov <scapig@yandex.ru> | 2012-04-02 16:32:26 +0200 |
commit | 1455d166a05a10504fa9496f2fa3a5f5f4d14264 (patch) | |
tree | 2751f1248f52d2ef67ffc2d2993a16f45a06ef32 /examples | |
parent | 98d432d8c3ddb428de03cd9b0fe32463a4c44646 (diff) |
Fix enumerator example due to changes in methods vid/pid.
Change-Id: Iaec8b87469374c207add30c24637416ed1ae0869
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <scapig@yandex.ru>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/enumerator/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/enumerator/main.cpp b/examples/enumerator/main.cpp index 2d737fad..96183eda 100644 --- a/examples/enumerator/main.cpp +++ b/examples/enumerator/main.cpp @@ -19,13 +19,13 @@ int main(int argc, char *argv[]) "Location: %2\n" "Description: %3\n" "Manufacturer: %4\n" - "Vid: %5\n" - "Pid: %6\n" + "Vendor ID: %5\n" + "Product ID: %6\n" "Busy: %7\n")); s = s.arg(info.portName()).arg(info.systemLocation()) .arg(info.description()).arg(info.manufacturer()) - .arg(info.vid()).arg(info.pid()) + .arg(info.vendorIdentifier()).arg(info.productIdentifier()) .arg(info.isBusy() ? QObject::tr("Yes") : QObject::tr("No")); QLabel *label = new QLabel(s); |