From 9cb902e8e78dae2b35445ad71f295d2fe80565cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Mon, 18 Oct 2021 15:51:00 +0200 Subject: [PATCH] Remove unused [EffectRackn_EffectUnitn],loaded CO --- src/effects/effectchain.cpp | 8 -------- src/effects/effectchain.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/effects/effectchain.cpp b/src/effects/effectchain.cpp index 8de16c0d612..607724b57e0 100644 --- a/src/effects/effectchain.cpp +++ b/src/effects/effectchain.cpp @@ -50,14 +50,6 @@ EffectChain::EffectChain(const QString& group, this, &EffectChain::slotPresetListUpdated); - // TODO: This [EffectRackn_EffectUnitn],loaded is always 1.0 - // Implement a check if Effects in the unit are matching a - // chain preset - m_pControlChainLoaded = - std::make_unique(ConfigKey(m_group, "loaded")); - m_pControlChainLoaded->setReadOnly(); - m_pControlChainLoaded->forceSet(1.0); - m_pControlChainEnabled = std::make_unique(ConfigKey(m_group, "enabled")); m_pControlChainEnabled->setButtonMode(ControlPushButton::POWERWINDOW); diff --git a/src/effects/effectchain.h b/src/effects/effectchain.h index 4b54fa155c7..8e0c9e6a7b8 100644 --- a/src/effects/effectchain.h +++ b/src/effects/effectchain.h @@ -133,7 +133,6 @@ class EffectChain : public QObject { std::unique_ptr m_pControlClear; std::unique_ptr m_pControlNumEffectSlots; - std::unique_ptr m_pControlChainLoaded; std::unique_ptr m_pControlChainEnabled; std::unique_ptr m_pControlChainMixMode; std::unique_ptr m_pControlLoadedChainPreset;