getEffectChain() => effectChain()

This commit is contained in:
Wong Cho Ching
2014-01-30 20:50:17 +08:00
parent e19e763120
commit 7196d67a82
2 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ public:
return m_key;
}
EffectChain * getEffectChain() const
EffectChain * effectChain() const
{
return m_parent;
}

View File

@@ -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 );
}
}