diff options
Diffstat (limited to 'src/gui/studio/MidiMixerWindow.cpp')
-rw-r--r-- | src/gui/studio/MidiMixerWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/studio/MidiMixerWindow.cpp b/src/gui/studio/MidiMixerWindow.cpp index cd23fa8..b3ef4f9 100644 --- a/src/gui/studio/MidiMixerWindow.cpp +++ b/src/gui/studio/MidiMixerWindow.cpp @@ -325,7 +325,7 @@ MidiMixerWindow::slotFaderLevelChanged(float value) for (FaderVector::const_iterator it = m_faders.begin(); it != m_faders.end(); ++it) { - if (TQT_BASE_OBJECT((*it)->m_volumeFader) == TQT_BASE_OBJECT_CONST(s)) { + if ((*it)->m_volumeFader == s) { Instrument *instr = m_studio-> getInstrumentById((*it)->m_id); @@ -379,7 +379,7 @@ MidiMixerWindow::slotControllerChanged(float value) for (i = 0; i < m_faders.size(); ++i) { for (j = 0; j < m_faders[i]->m_controllerRotaries.size(); ++j) { - if (TQT_BASE_OBJECT(m_faders[i]->m_controllerRotaries[j].second) == TQT_BASE_OBJECT_CONST(s)) + if (m_faders[i]->m_controllerRotaries[j].second == s) break; } |