Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Oct 14, 2024
1 parent 403aa63 commit bcff136
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
13 changes: 0 additions & 13 deletions src/grandorgue/combinations/GOSetter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,19 +1089,6 @@ void GOSetter::SetCrescendoType(unsigned no) {
m_CrescendoOverrideMode[m_crescendobank]);
}

/*
const GOCombination::ExtraElementsSet *GOSetter::GetCrescendoAddSet(
GOCombination::ExtraElementsSet &elementSet) {
const GOCombination::ExtraElementsSet *pResElementSet = nullptr;
if (!m_CrescendoOverrideMode[m_crescendobank]) {
m_crescendo[m_crescendopos + m_crescendobank * CRESCENDO_STEPS]
->GetEnabledElements(elementSet);
pResElementSet = &elementSet;
}
return pResElementSet;
} */

void GOSetter::UpdatePosition(int pos) {
if (pos != (int)m_pos)
SetPosition(pos);
Expand Down
10 changes: 0 additions & 10 deletions src/grandorgue/combinations/GOSetter.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,6 @@ class GOSetter : private GOSoundStateHandler,
unsigned cmbManual,
GOButtonControl *pButtonToLight) override;

/*
* If current crescendo is in override mode then returns nullptr
* If current crescendo is in add mode then fills elementSet and returns a
* pointer to it
*/
/*
const GOCombination::ExtraElementsSet *GetCrescendoAddSet(
GOCombination::ExtraElementsSet &elementSet);
*/

void Next();
void Prev();
void Push();
Expand Down

0 comments on commit bcff136

Please sign in to comment.