[vlmc-devel] EffectInstanceWidget: Remove unneeded deletion
Yikai Lu
git at videolan.org
Mon Aug 7 19:18:22 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Aug 8 00:58:06 2017 +0900| [d16ac852aead89ef4a82966f09dde97a3c287040] | committer: Yikai Lu
EffectInstanceWidget: Remove unneeded deletion
> https://code.videolan.org/videolan/vlmc/commit/d16ac852aead89ef4a82966f09dde97a3c287040
---
src/Gui/effectsengine/EffectInstanceWidget.cpp | 2 --
src/Gui/effectsengine/EffectInstanceWidget.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/src/Gui/effectsengine/EffectInstanceWidget.cpp b/src/Gui/effectsengine/EffectInstanceWidget.cpp
index ebababd6..b7bd32ee 100644
--- a/src/Gui/effectsengine/EffectInstanceWidget.cpp
+++ b/src/Gui/effectsengine/EffectInstanceWidget.cpp
@@ -76,8 +76,6 @@ EffectInstanceWidget::clear()
m_ui->effectWidget->clear();
qDeleteAll( m_settings );
m_settings.clear();
- qDeleteAll( m_widgets );
- m_widgets.clear();
}
ISettingsCategoryWidget*
diff --git a/src/Gui/effectsengine/EffectInstanceWidget.h b/src/Gui/effectsengine/EffectInstanceWidget.h
index 3c98e501..dba345f9 100644
--- a/src/Gui/effectsengine/EffectInstanceWidget.h
+++ b/src/Gui/effectsengine/EffectInstanceWidget.h
@@ -49,7 +49,6 @@ class EffectInstanceWidget : public QWidget
void clear();
private:
QList<ISettingsCategoryWidget*> m_settings;
- QList<QWidget*> m_widgets;
Ui::EffectSettingWidget *m_ui;
std::shared_ptr<EffectHelper> m_helper;
More information about the Vlmc-devel
mailing list