diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:43:15 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-16 23:26:07 +0900 |
commit | 45016a2fba12ee4dc9ff29854504ae79a24fda11 (patch) | |
tree | fbe69ff562e758268f3be479356b48b03e67bbd2 /src/gui/studio/MidiMixerWindow.cpp | |
parent | 4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca (diff) | |
download | rosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.tar.gz rosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2ec11ba03e87e734e3fa95f59385049feb82098b)
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; } |