X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdialogs%2Fconnect.cpp;h=bf92998b9b9e65fd7cd1ecf0d1d1c1564914f347;hp=4fcbf694279edd0a4a2527d4869e6e45aa93ed01;hb=2ad82c2e40b6865481733913a2c32735602f63c4;hpb=3084ed4b15663dd717ff656745db305f377ab215 diff --git a/pv/dialogs/connect.cpp b/pv/dialogs/connect.cpp index 4fcbf69..bf92998 100644 --- a/pv/dialogs/connect.cpp +++ b/pv/dialogs/connect.cpp @@ -108,7 +108,7 @@ void Connect::populate_drivers() */ bool supported_device = driver->config_check( ConfigKey::LOGIC_ANALYZER, ConfigKey::DEVICE_OPTIONS) | - driver->config_check( + driver->config_check( ConfigKey::OSCILLOSCOPE, ConfigKey::DEVICE_OPTIONS); if (supported_device) @@ -172,8 +172,7 @@ void Connect::scan_pressed() const list< shared_ptr > devices = device_manager_.driver_scan(driver, drvopts); - for (shared_ptr device : devices) - { + for (shared_ptr device : devices) { assert(device); QString text = QString::fromStdString(