diff options
author | Michele Calgaro <[email protected]> | 2023-12-09 18:25:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-09 18:57:45 +0900 |
commit | 9b054308cef27a642eaa6e9a86db215151468e0b (patch) | |
tree | ab3b17b523e0ae3334541665a4625b99a42a76b1 /src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp | |
parent | 217eb15dfed1b38303754b8cab53d77d749f22b9 (diff) | |
download | rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.tar.gz rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp')
-rw-r--r-- | src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp index 9bc3133..e837028 100644 --- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp +++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp @@ -61,7 +61,7 @@ namespace Rosegarden MIDIInstrumentParameterPanel::MIDIInstrumentParameterPanel(RosegardenGUIDoc *doc, TQWidget* parent): InstrumentParameterPanel(doc, parent), m_rotaryFrame(0), - m_rotaryMapper(new TQSignalMapper(TQT_TQOBJECT(this))) + m_rotaryMapper(new TQSignalMapper(this)) { m_mainGrid = new TQGridLayout(this, 10, 3, 2, 1); @@ -423,7 +423,7 @@ MIDIInstrumentParameterPanel::setupControllers(MidiDevice *md) // Add signal mapping // - m_rotaryMapper->setMapping(TQT_TQOBJECT(rotary), + m_rotaryMapper->setMapping(rotary, int(it->getControllerValue())); count++; |