From 8c8b3ac35c12af3817ff8d8c3d169af166821198 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 22 Aug 2013 18:44:42 +0200 Subject: more const-correctness for Part* --- muse2/muse/steprec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'muse2/muse/steprec.h') 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(); -- cgit v1.2.3