Skip to content

Commit 722b933

Browse files
committed
Correct code styles
1 parent cceee63 commit 722b933

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

src/engraving/dom/score.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ Measure* Score::searchMeasure(const PointF& p, const System* preferredSystem, do
11351135
for (System* system : systems) {
11361136
double x = p.x() - system->canvasPos().x();
11371137
for (MeasureBase* mb : system->measures()) {
1138-
if (mb->isMeasure()){
1138+
if (mb->isMeasure()) {
11391139
if (x < (mb->x() + mb->ldata()->bbox().width())) {
11401140
return toMeasure(mb);
11411141
}

src/engraving/dom/shadownote.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ bool ShadowNote::isValid() const
5353
return m_noteheadSymbol != SymId::noSym;
5454
}
5555

56-
void ShadowNote::setState(SymId noteSymbol, TDuration duration, bool rest, double segmentSkylineTopY, double segmentSkylineBottomY, bool beyondScore,
56+
void ShadowNote::setState(SymId noteSymbol, TDuration duration, bool rest, double segmentSkylineTopY, double segmentSkylineBottomY,
57+
bool beyondScore,
5758
AccidentalType accidentalType, const std::set<SymId>& articulationIds)
5859
{
5960
m_noteheadSymbol = noteSymbol;

src/engraving/dom/shadownote.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ class ShadowNote final : public EngravingItem
6060

6161
const TDuration& duration() const { return m_duration; }
6262

63-
void setState(SymId noteSymbol, TDuration duration, bool isRest, double segmentSkylineTopY, double segmentSkylineBottomY, bool beyondScore,
64-
AccidentalType accidentalType = AccidentalType::NONE, const std::set<SymId>& articulationIds = {});
63+
void setState(SymId noteSymbol, TDuration duration, bool isRest, double segmentSkylineTopY, double segmentSkylineBottomY,
64+
bool beyondScore, AccidentalType accidentalType = AccidentalType::NONE, const std::set<SymId>& articulationIds = {});
6565

6666
void drawArticulations(muse::draw::Painter* painter) const;
6767
void drawMarcato(muse::draw::Painter* painter, const SymId& articulation, RectF& boundRect) const;

src/notation/view/previewmeasure.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ class PreviewMeasure : public muse::Injectable
3737
void paint(muse::draw::Painter* painter, const NoteInputState& state);
3838

3939
private:
40-
void paintStaffLines(muse::draw::Painter* painter, const muse::PointF& pos,
41-
double width, int lines, double lineDist, double lineWidth);
42-
40+
void paintStaffLines(muse::draw::Painter* painter, const muse::PointF& pos, double width, int lines, double lineDist, double lineWidth);
4341
};
4442
}

0 commit comments

Comments
 (0)