diff options
author | Slávek Banko <[email protected]> | 2013-02-19 04:51:33 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-02-19 04:51:33 +0100 |
commit | e046563944f8ea6089149363908cd2249c1b29f4 (patch) | |
tree | d57cef926dfa671923cafc08dac52493047e729f /src/gui | |
parent | 4f3d7ccfbb037354bcc47a0cfd02cf3cc5d48780 (diff) | |
download | rosegarden-e046563944f8ea6089149363908cd2249c1b29f4.tar.gz rosegarden-e046563944f8ea6089149363908cd2249c1b29f4.zip |
Fix unintended rename of many various *klist*
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/studio/MidiProgramsEditor.cpp | 8 | ||||
-rw-r--r-- | src/gui/studio/MidiProgramsEditor.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/studio/MidiProgramsEditor.cpp b/src/gui/studio/MidiProgramsEditor.cpp index 21ea94a..65e7066 100644 --- a/src/gui/studio/MidiProgramsEditor.cpp +++ b/src/gui/studio/MidiProgramsEditor.cpp @@ -293,7 +293,7 @@ MidiProgramsEditor::slotNewPercussion() RG_DEBUG << "MidiProgramsEditor::slotNewPercussion" << endl; bool percussion = m_percussion->isChecked(); m_percussion->blockSignals(true); - if (bantdelistContains(MidiBank(percussion, m_msb->value(), m_lsb->value()))) { + if (banklistContains(MidiBank(percussion, m_msb->value(), m_lsb->value()))) { RG_DEBUG << "MidiProgramsEditor::slotNewPercussion: calling setChecked(" << !percussion << ")" << endl; m_percussion->setChecked(!percussion); } else { @@ -547,7 +547,7 @@ int MidiProgramsEditor::ensureUniqueMSB(int msb, bool ascending) { int newMSB = msb; - while (bantdelistContains(MidiBank(m_percussion->isChecked(), + while (banklistContains(MidiBank(m_percussion->isChecked(), newMSB, m_lsb->value())) && newMSB < 128 && newMSB > -1) @@ -566,7 +566,7 @@ int MidiProgramsEditor::ensureUniqueLSB(int lsb, bool ascending) { int newLSB = lsb; - while (bantdelistContains(MidiBank(m_percussion->isChecked(), + while (banklistContains(MidiBank(m_percussion->isChecked(), m_msb->value(), newLSB)) && newLSB < 128 && newLSB > -1) @@ -582,7 +582,7 @@ MidiProgramsEditor::ensureUniqueLSB(int lsb, bool ascending) } bool -MidiProgramsEditor::bantdelistContains(const MidiBank &bank) +MidiProgramsEditor::banklistContains(const MidiBank &bank) { BankList::iterator it; diff --git a/src/gui/studio/MidiProgramsEditor.h b/src/gui/studio/MidiProgramsEditor.h index f583ec3..7d40e8e 100644 --- a/src/gui/studio/MidiProgramsEditor.h +++ b/src/gui/studio/MidiProgramsEditor.h @@ -78,9 +78,9 @@ protected: int ensureUniqueMSB(int msb, bool ascending); int ensureUniqueLSB(int lsb, bool ascending); - // Does the bantdelist contain this combination already? + // Does the banklist contain this combination already? // - bool bantdelistContains(const MidiBank &); + bool banklistContains(const MidiBank &); ProgramList getBankSubset(const MidiBank &); |