summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2014-07-10 11:40:18 +0400
committerDenis Shienkov <denis.shienkov@gmail.com>2014-07-10 10:41:19 +0200
commit55b29ef40df2b1f91ecab06c492ca70ba5e0297f (patch)
tree4b96b9f68a2482e4b85c0b49074743f459005400 /examples
parentc3460993440172f0f29fe2bc290c0b2f10d3de5a (diff)
downloadqtserialport-55b29ef40df2b1f91ecab06c492ca70ba5e0297f.tar.gz
Return from the loop if a port name is found
The function devicePortName() search in the Registry the names of ports by names of registry keys. At first looks for value of a key of "PortName", and then of "PortNumber" key. Thus, the first found value shall stop search and do not try to continue. Tested on Windows 7/8 using Qt4 and then Qt5. Change-Id: I98b00ff043a3b08476fec0a57b0d36ce65fc8d63 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions