Connect dialog: Fix scan for certain USB devices.
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 5 Jul 2019 20:58:08 +0000 (22:58 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 5 Jul 2019 20:58:08 +0000 (22:58 +0200)
commit7a5535dc88a1125989d5fbcf36c2affe21a0351e
tree70b0d68ccd958b8c92f32f1696f902781eb92a5b
parente4e951b7fcfa4c6bf36547d0106bfa730fceb92c
Connect dialog: Fix scan for certain USB devices.

Before the fix, selecting "USB" (it's selected by default) in the
"Connect to device" dialog would incorrectly set a conn parameter to
some serial or HID devices, even for scans for pure USB devices which are
neither of those.

This fixes bug #1403.
pv/dialogs/connect.cpp