diff options
Diffstat (limited to 'src/gui/editors/parameters/InstrumentParameterBox.cpp')
-rw-r--r-- | src/gui/editors/parameters/InstrumentParameterBox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/parameters/InstrumentParameterBox.cpp b/src/gui/editors/parameters/InstrumentParameterBox.cpp index 610f9ed..f31c474 100644 --- a/src/gui/editors/parameters/InstrumentParameterBox.cpp +++ b/src/gui/editors/parameters/InstrumentParameterBox.cpp @@ -66,16 +66,16 @@ InstrumentParameterBox::InstrumentParameterBox(RosegardenGUIDoc *doc, m_midiInstrumentParameters->setFont(m_font); m_audioInstrumentParameters->setFont(m_font); - bool tqcontains = false; + bool contains = false; std::vector<InstrumentParameterBox*>::iterator it = instrumentParamBoxes.begin(); for (; it != instrumentParamBoxes.end(); it++) if ((*it) == this) - tqcontains = true; + contains = true; - if (!tqcontains) + if (!contains) instrumentParamBoxes.push_back(this); m_widgetStack->addWidget(m_midiInstrumentParameters); |