diff --git a/include/Effect.h b/include/Effect.h index 4c7bef8d4..10d3fcf23 100644 --- a/include/Effect.h +++ b/include/Effect.h @@ -152,7 +152,7 @@ public: return m_key; } - EffectChain * getEffectChain() const + EffectChain * effectChain() const { return m_parent; } diff --git a/src/core/PeakController.cpp b/src/core/PeakController.cpp index 824d450f2..b75edbc93 100644 --- a/src/core/PeakController.cpp +++ b/src/core/PeakController.cpp @@ -58,9 +58,9 @@ PeakController::PeakController( Model * _parent, PeakController::~PeakController() { - if( m_peakEffect != NULL && m_peakEffect->getEffectChain() != NULL ) + if( m_peakEffect != NULL && m_peakEffect->effectChain() != NULL ) { - m_peakEffect->getEffectChain()->removeEffect( m_peakEffect ); + m_peakEffect->effectChain()->removeEffect( m_peakEffect ); } }