summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp')
-rw-r--r--src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp4
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++;