]> sigrok.org Git - pulseview.git/blobdiff - pv/toolbars/mainbar.cpp
Fix remaining invalid disconnect() calls
[pulseview.git] / pv / toolbars / mainbar.cpp
index b35e14661373d88325eb4a28c1d73a580d587e4f..39c290dfb2c8a2c34499928bafd600eb227a4030 100644 (file)
@@ -548,7 +548,7 @@ void MainBar::update_device_config_widgets()
                sample_count_supported_ = true;
 
        // Add notification of reconfigure events
-       disconnect(this, SLOT(on_config_changed()));
+       // Note: No need to disconnect the previous signal as that QObject instance is destroyed
        connect(&opts->binding(), SIGNAL(config_changed()),
                this, SLOT(on_config_changed()));