Player: slot begin with lower case char

This commit is contained in:
Louis-Joseph Fournier 2016-01-14 16:35:23 +01:00
parent a3a7fd2506
commit eb297ceb06
4 changed files with 5 additions and 3 deletions

View file

@ -115,7 +115,7 @@ Item {
octave = index / 12
toise_octave.index = octave
// set octave and note atomically
tuner.SetNoteOctave(note, octave)
tuner.setNoteOctave(note, octave)
toise_octave.updateFlickable()
}
}

View file

@ -43,6 +43,8 @@ Image {
property int temperament_idx: 0
property bool running: false
property bool playing: false
function setNoteOctave(n, o) {}
}
PlayerScreen {

View file

@ -104,7 +104,7 @@ void Tuner::SetNote(int note)
emit resultChanged();
}
void Tuner::SetNoteOctave(int note, int octave)
void Tuner::setNoteOctave(int note, int octave)
{
result.note = note;
result.octave = octave;

View file

@ -71,7 +71,7 @@ class Tuner : public QObject {
// slots from worker
void ResultUpdated(const PitchDetection::PitchResult &result);
void TemperamentListUpdated(const QStringList &list);
void SetNoteOctave(int note, int octave);
void setNoteOctave(int note, int octave);
signals:
// signals to UI