diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2014-11-20 23:53:02 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2014-11-20 23:53:02 +0100 |
commit | 26f5307e89850f0b687ba6105958bc1bb6b101de (patch) | |
tree | 26e071313af02d2e6d39114215bdddcd8b9ac3d4 /src/effects/effectchainmanager.cpp | |
parent | ef35c8da743892b6aeb1ad81a3467a68a72d89c0 (diff) |
Changed namespace for the preferences effect Racks to EqualizerChain and QuickEffectChain
Diffstat (limited to 'src/effects/effectchainmanager.cpp')
-rw-r--r-- | src/effects/effectchainmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/effects/effectchainmanager.cpp b/src/effects/effectchainmanager.cpp index df4a3887f8..8e7d8e8444 100644 --- a/src/effects/effectchainmanager.cpp +++ b/src/effects/effectchainmanager.cpp @@ -36,6 +36,7 @@ EffectRackPointer EffectChainManager::addEffectRack(const QString& group) { EffectRackPointer pRack = EffectRackPointer(new EffectRack( m_pEffectsManager, this, m_effectRacks.size(), group)); m_effectRacks.append(pRack); + m_effectRacksHash.insert(pRack->getGroup(), pRack); return pRack; } @@ -46,6 +47,10 @@ EffectRackPointer EffectChainManager::getEffectRack(int i) { return m_effectRacks[i]; } +EffectRackPointer EffectChainManager::getEffectRack(const QString& group) { + return m_effectRacksHash.value(group); +} + int EffectChainManager::getEffectRacksSize() { return m_effectRacks.size(); } |