summaryrefslogtreecommitdiffstats
path: root/src/gui/general/MidiPitchLabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/general/MidiPitchLabel.cpp')
-rw-r--r--src/gui/general/MidiPitchLabel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/general/MidiPitchLabel.cpp b/src/gui/general/MidiPitchLabel.cpp
index f2d714d..a103234 100644
--- a/src/gui/general/MidiPitchLabel.cpp
+++ b/src/gui/general/MidiPitchLabel.cpp
@@ -55,7 +55,7 @@ MidiPitchLabel::MidiPitchLabel(int pitch)
int baseOctave = config->readNumEntry("midipitchoctave", -2);
int octave = (int)(((float)pitch) / 12.0) + baseOctave;
- m_midiNote = notes[pitch % 12].arg(octave);
+ m_midiNote = notes[pitch % 12].tqarg(octave);
}
}
@@ -65,8 +65,8 @@ MidiPitchLabel::getString() const
return std::string(m_midiNote.utf8().data());
}
-QString
-MidiPitchLabel::getQString() const
+TQString
+MidiPitchLabel::getTQString() const
{
return m_midiNote;
}