From 5df52a588cc09931daefadde730c2595850dccd3 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 26 Dec 2007 14:17:35 +0000 Subject: [PATCH] fixed wrong signal-slot-connection which made gate-parameter of effects not working git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.3@629 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 6 ++++++ src/widgets/rack_plugin.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d4abc59da..4836abb69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-26 Tobias Doerffel + + * src/widgets/rack_plugin.cpp: + fixed wrong signal-slot-connection which made gate-parameter of + effects not working + 2007-12-17 Paul Wayper * src/core/main_window.cpp: diff --git a/src/widgets/rack_plugin.cpp b/src/widgets/rack_plugin.cpp index a18bc4b98..6a35bdfd9 100644 --- a/src/widgets/rack_plugin.cpp +++ b/src/widgets/rack_plugin.cpp @@ -141,7 +141,7 @@ rackPlugin::rackPlugin( QWidget * _parent, "run the risk of clipping the tail on delay effects." ) ); m_gate = new knob( knobBright_26, this, tr( "Gate" ), m_track ); - connect( m_wetDry, SIGNAL( valueChanged( float ) ), + connect( m_gate, SIGNAL( valueChanged( float ) ), this, SLOT( setGate( float ) ) ); m_gate->setLabel( tr( "Gate" ) ); m_gate->setRange( 0.0f, 1.0f, 0.01f );