Commit d16ac852 authored by luyikei's avatar luyikei

EffectInstanceWidget: Remove unneeded deletion

parent 52a1ac6a
...@@ -76,8 +76,6 @@ EffectInstanceWidget::clear() ...@@ -76,8 +76,6 @@ EffectInstanceWidget::clear()
m_ui->effectWidget->clear(); m_ui->effectWidget->clear();
qDeleteAll( m_settings ); qDeleteAll( m_settings );
m_settings.clear(); m_settings.clear();
qDeleteAll( m_widgets );
m_widgets.clear();
} }
ISettingsCategoryWidget* ISettingsCategoryWidget*
......
...@@ -49,7 +49,6 @@ class EffectInstanceWidget : public QWidget ...@@ -49,7 +49,6 @@ class EffectInstanceWidget : public QWidget
void clear(); void clear();
private: private:
QList<ISettingsCategoryWidget*> m_settings; QList<ISettingsCategoryWidget*> m_settings;
QList<QWidget*> m_widgets;
Ui::EffectSettingWidget *m_ui; Ui::EffectSettingWidget *m_ui;
std::shared_ptr<EffectHelper> m_helper; std::shared_ptr<EffectHelper> m_helper;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment