]> sigrok.org Git - pulseview.git/blobdiff - pv/dialogs/connect.cpp
Minor whitespace cosmetics.
[pulseview.git] / pv / dialogs / connect.cpp
index 20836901b006a981cebb107d88054e51ef98a899..5baedcbcacaa1a2e06c52050419f5c77158b906d 100644 (file)
@@ -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)
@@ -177,7 +177,7 @@ void Connect::scan_pressed()
                assert(device);
 
                QString text = QString::fromStdString(
-                       device_manager_.get_display_name(device));
+                       device->display_name(device_manager_));
                text += QString(" with %1 channels").arg(
                        device->device()->channels().size());