diff --git a/plugins/feature/sid/sidgui.cpp b/plugins/feature/sid/sidgui.cpp index 2bbdc897b..7627e7a35 100644 --- a/plugins/feature/sid/sidgui.cpp +++ b/plugins/feature/sid/sidgui.cpp @@ -284,28 +284,9 @@ SIDGUI::SIDGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *featur SIDGUI::~SIDGUI() { - QObject::disconnect(ui->chartSplitter, &QSplitter::splitterMoved, this, &SIDGUI::chartSplitterMoved); - QObject::disconnect(ui->sdoSplitter, &QSplitter::splitterMoved, this, &SIDGUI::sdoSplitterMoved); + delete m_grb; + delete m_stix; - QObject::disconnect(&m_availableFeatureHandler, - &AvailableChannelOrFeatureHandler::channelsOrFeaturesChanged, - this, - &SIDGUI::featuresChanged - ); - QObject::disconnect(&m_availableChannelHandler, - &AvailableChannelOrFeatureHandler::channelsOrFeaturesChanged, - this, - &SIDGUI::channelsChanged - ); - disconnectDataUpdates(); - if (m_grb) { - disconnect(m_grb, &GRB::dataUpdated, this, &SIDGUI::grbDataUpdated); - delete m_grb; - } - if (m_stix) { - disconnect(m_stix, &STIX::dataUpdated, this, &SIDGUI::stixDataUpdated); - delete m_stix; - } m_statusTimer.stop(); clearFromMap();