fix #24951: fix warning
This commit is contained in:
parent
118174d809
commit
e3e7aa0a8a
3 changed files with 3 additions and 3 deletions
|
@ -512,7 +512,7 @@ void Score::cmdAddInterval(int val, const QList<Note*>& nl)
|
|||
/// \len is the visual duration of the grace note (1/16 or 1/32)
|
||||
//---------------------------------------------------------
|
||||
|
||||
void Score::setGraceNote(Chord* ch, int pitch, NoteType type, int len, int tpc) // ise grace after, elim. argument "behind"
|
||||
void Score::setGraceNote(Chord* ch, int pitch, NoteType type, int len)
|
||||
{
|
||||
Note* note = new Note(this);
|
||||
Chord* chord = new Chord(this);
|
||||
|
|
|
@ -1345,7 +1345,7 @@ Element* Note::drop(const DropData& data)
|
|||
// before the current note
|
||||
for (int i = nl.size() - 1; i >= 0; --i) {
|
||||
int p = BagpipeEmbellishment::BagpipeNoteInfoList[nl.at(i)].pitch;
|
||||
score()->setGraceNote(ch, p, NOTE_GRACE32, false, MScore::division/8);
|
||||
score()->setGraceNote(ch, p, NOTE_GRACE32, MScore::division/8);
|
||||
}
|
||||
}
|
||||
delete e;
|
||||
|
|
|
@ -529,7 +529,7 @@ class Score : public QObject {
|
|||
void undoRemoveBracket(Bracket*);
|
||||
void undoInsertTime(int tick, int len);
|
||||
|
||||
void setGraceNote(Chord*, int pitch, NoteType type, int len, int tpc = INVALID_TPC);
|
||||
void setGraceNote(Chord*, int pitch, NoteType type, int len);
|
||||
|
||||
Segment* setNoteRest(Segment*, int track, NoteVal nval, Fraction, MScore::Direction stemDirection = MScore::AUTO);
|
||||
void changeCRlen(ChordRest* cr, const TDuration&);
|
||||
|
|
Loading…
Reference in a new issue