summaryrefslogtreecommitdiff
path: root/muse2/muse/steprec.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-08-22 18:44:42 +0200
committerFlorian Jung <flo@windfisch.org>2013-08-22 18:44:42 +0200
commit8c8b3ac35c12af3817ff8d8c3d169af166821198 (patch)
tree45c4ae839cf6198362957128d75ad022bc224f63 /muse2/muse/steprec.h
parent42373397c2e2fbb14e965db6945def6c4a0f03c4 (diff)
more const-correctness for Part*
Diffstat (limited to 'muse2/muse/steprec.h')
-rw-r--r--muse2/muse/steprec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/steprec.h b/muse2/muse/steprec.h
index a82cab20..f99fffc4 100644
--- a/muse2/muse/steprec.h
+++ b/muse2/muse/steprec.h
@@ -37,7 +37,7 @@ class StepRec : public QObject
public:
StepRec(bool* note_held_down_array);
- void record(Part* part, int recorded_pitch, int len, int step, int velo=80, bool ctrl=false, bool shift=false, int incoming_pitch=1337);
+ void record(const Part* part, int recorded_pitch, int len, int step, int velo=80, bool ctrl=false, bool shift=false, int incoming_pitch=1337);
private slots:
void timeout();