diff options
author | Martin Storsjo <martin@martin.st> | 2011-06-24 13:00:17 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-06-24 13:00:17 (GMT) |
commit | c74b93df047157a6ff8ca3ffa2dd2f624760824f (patch) | |
tree | b47ab17a308cc987413243dd65d18e2164867cbb /examples/tools | |
parent | aa6bd900970b55684db38107a903677afaf26a25 (diff) | |
download | Qt-c74b93df047157a6ff8ca3ffa2dd2f624760824f.zip Qt-c74b93df047157a6ff8ca3ffa2dd2f624760824f.tar.gz Qt-c74b93df047157a6ff8ca3ffa2dd2f624760824f.tar.bz2 |
runonphone: Fix usb device enumeration on Mac OS X
The change in 763f3acd879648648465475aef773fe0876934a9,
when merged in a315c693d0f3dd64711b8459d86b89ddc48e8c1a,
broke the usb device enumeration on OS X.
This commit makes it work again, but now we look for two
/dev entries per device (although only one of them exists).
If many usb devices are connected, this increases the risk
for false matches - if that ever happens, the
iteration/checking that was removed in
763f3acd879648648465475aef773fe0876934a9 could be readded
within the #ifdef Q_OS_MAC, making it add only one regexp
per device again.
Merge-request: 2633
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'examples/tools')
0 files changed, 0 insertions, 0 deletions