[vlmc-devel] commit: EffectInstanceWidget: Don' t reconnect the save slot each time a new effect is watched. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Sat Sep 4 13:00:22 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sat Sep 4 12:59:41 2010 +0200| [b19a230f025e207966541d7de31a6ceb62b85f64] | committer: Hugo Beauzée-Luyssen
EffectInstanceWidget: Don't reconnect the save slot each time a new effect is watched.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=b19a230f025e207966541d7de31a6ceb62b85f64
---
src/Gui/effectsengine/EffectInstanceWidget.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/Gui/effectsengine/EffectInstanceWidget.cpp b/src/Gui/effectsengine/EffectInstanceWidget.cpp
index b671840..5b09ba2 100644
--- a/src/Gui/effectsengine/EffectInstanceWidget.cpp
+++ b/src/Gui/effectsengine/EffectInstanceWidget.cpp
@@ -34,12 +34,16 @@
#include <QLabel>
#include <QVBoxLayout>
+#include <QtDebug>
+
EffectInstanceWidget::EffectInstanceWidget( QWidget *parent ) :
QWidget( parent ),
m_ui( new Ui::EffectSettingWidget )
{
m_ui->setupUi( this );
clear();
+ connect( m_ui->applyButton, SIGNAL( clicked() ),
+ this, SLOT( save() ) );
}
void
@@ -63,8 +67,6 @@ EffectInstanceWidget::setEffectInstance( EffectInstance *instance )
m_settings.push_back( widget );
++it;
}
- connect( m_ui->applyButton, SIGNAL( clicked() ),
- this, SLOT( save() ) );
}
void
More information about the Vlmc-devel
mailing list