Skip to content

Commit

Permalink
make more methods const
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Jan 10, 2025
1 parent 4683c22 commit ac98713
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engraving/dom/editdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class EditData
bool control(bool textEditing = false) const;
bool shift() const { return modifiers & ShiftModifier; }
bool isStartEndGrip() const { return curGrip == Grip::START || curGrip == Grip::END; }
bool hasCurrentGrip() { return curGrip != Grip::NO_GRIP; }
bool hasCurrentGrip() const { return curGrip != Grip::NO_GRIP; }

private:
std::list<std::shared_ptr<ElementEditData> > m_data;
Expand Down
2 changes: 1 addition & 1 deletion src/notation/view/widgets/timeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private slots:

unsigned nmetas() const;

bool collapsed() { return _collapsedMeta; }
bool collapsed() const { return _collapsedMeta; }
void setCollapsed(bool st) { _collapsedMeta = st; }

engraving::Staff* numToStaff(int staff);
Expand Down

0 comments on commit ac98713

Please sign in to comment.