Skip to content

Commit

Permalink
chore(controlpotmeter): Add reminder comment to add new COs to `addAl…
Browse files Browse the repository at this point in the history
…ias`
  • Loading branch information
Holzhaus committed Sep 23, 2023
1 parent e1ece48 commit a3ca5ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/control/controlpotmeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ void ControlPotmeter::privateValueChanged(double dValue, QObject* pSender) {

PotmeterControls::PotmeterControls(const ConfigKey& key)
: m_control(key, this),
// When adding an additional control here, do not forget to also add
// it to the `PotmeterControls::addAlias()` method, too.
m_controlUp(configKeyFromBaseKey(key, QStringLiteral("_up"))),
m_controlDown(configKeyFromBaseKey(key, QStringLiteral("_down"))),
m_controlUpSmall(configKeyFromBaseKey(key, QStringLiteral("_up_small"))),
Expand Down

0 comments on commit a3ca5ea

Please sign in to comment.