Skip to content

Commit

Permalink
Remove unused [EffectRackn_EffectUnitn],loaded CO
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Oct 18, 2021
1 parent 3883a28 commit 9cb902e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/effects/effectchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ControlObject>(ConfigKey(m_group, "loaded"));
m_pControlChainLoaded->setReadOnly();
m_pControlChainLoaded->forceSet(1.0);

m_pControlChainEnabled =
std::make_unique<ControlPushButton>(ConfigKey(m_group, "enabled"));
m_pControlChainEnabled->setButtonMode(ControlPushButton::POWERWINDOW);
Expand Down
1 change: 0 additions & 1 deletion src/effects/effectchain.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ class EffectChain : public QObject {

std::unique_ptr<ControlPushButton> m_pControlClear;
std::unique_ptr<ControlObject> m_pControlNumEffectSlots;
std::unique_ptr<ControlObject> m_pControlChainLoaded;
std::unique_ptr<ControlPushButton> m_pControlChainEnabled;
std::unique_ptr<ControlPushButton> m_pControlChainMixMode;
std::unique_ptr<ControlObject> m_pControlLoadedChainPreset;
Expand Down

0 comments on commit 9cb902e

Please sign in to comment.