Skip to content

Commit

Permalink
moar const
Browse files Browse the repository at this point in the history
  • Loading branch information
RiedleroD committed Oct 6, 2024
1 parent 32f6045 commit 7b4bd3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/AudioFileProcessor/AudioFileProcessorWaveView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ void AudioFileProcessorWaveView::updateCursor(const QMouseEvent * me)
setCursor(Qt::OpenHandCursor);
}

bool AudioFileProcessorWaveView::pointerCloseToStartEndOrLoop(const QMouseEvent * me)
bool AudioFileProcessorWaveView::pointerCloseToStartEndOrLoop(const QMouseEvent * me) const
{
if (me == nullptr)
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/AudioFileProcessor/AudioFileProcessorWaveView.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public slots:
void updateGraph();
void reverse();
void updateCursor(const QMouseEvent* me = nullptr);
bool pointerCloseToStartEndOrLoop(const QMouseEvent* me);
bool pointerCloseToStartEndOrLoop(const QMouseEvent* me) const;

void configureKnobRelationsAndWaveViews();

Expand Down

0 comments on commit 7b4bd3f

Please sign in to comment.