summaryrefslogtreecommitdiffstats
path: root/src/effects/effectchainslot.cpp
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-05-02 12:52:27 -0500
committerBe <be@mixxx.org>2020-05-02 12:52:27 -0500
commit18a25c7009e89d66c73ff893e849f482b4fe9129 (patch)
treea51fd5b50cd58ad292fc06275c19b7ce129c4e0e /src/effects/effectchainslot.cpp
parent374fec6d145b3dc83228ced710a24ecb29f595eb (diff)
EffectChainSlot: remove unnecessary id constructor parameter
Diffstat (limited to 'src/effects/effectchainslot.cpp')
-rw-r--r--src/effects/effectchainslot.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/effects/effectchainslot.cpp b/src/effects/effectchainslot.cpp
index f46d672fcc..9401177404 100644
--- a/src/effects/effectchainslot.cpp
+++ b/src/effects/effectchainslot.cpp
@@ -18,8 +18,7 @@
EffectChainSlot::EffectChainSlot(const QString& group,
EffectsManager* pEffectsManager,
EffectsMessengerPointer pEffectsMessenger,
- SignalProcessingStage stage,
- const QString& id)
+ SignalProcessingStage stage)
: // The control group names are 1-indexed while internally everything
// is 0-indexed.
m_pEffectsManager(pEffectsManager),
@@ -41,7 +40,7 @@ EffectChainSlot::EffectChainSlot(const QString& group,
m_pControlChainLoaded = new ControlObject(ConfigKey(m_group, "loaded"));
m_pControlChainLoaded->setReadOnly();
- if (id != QString()) {
+ if (group != QString()) {
m_pControlChainLoaded->forceSet(1.0);
}