From 7196d67a8203f23a940cdb0ea5c3268234b2e50b Mon Sep 17 00:00:00 2001 From: Wong Cho Ching Date: Thu, 30 Jan 2014 20:50:17 +0800 Subject: [PATCH] getEffectChain() => effectChain() --- include/Effect.h | 2 +- src/core/PeakController.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ); } }