diff --git a/include/InstrumentMidiIOView.h b/include/InstrumentMidiIOView.h index 65fd1632d..75dd46990 100644 --- a/include/InstrumentMidiIOView.h +++ b/include/InstrumentMidiIOView.h @@ -75,6 +75,7 @@ public: { return m_pitchGroupBox; } + GroupBox * grooveGroupBox() { return m_grooveGroupBox; diff --git a/include/InstrumentTrack.h b/include/InstrumentTrack.h index 546653a03..ed1513d83 100644 --- a/include/InstrumentTrack.h +++ b/include/InstrumentTrack.h @@ -294,7 +294,7 @@ private: friend class InstrumentMiscView; private slots: -void updateGroove(); + void updateGroove(); }; diff --git a/src/core/MidiSwing.cpp b/src/core/MidiSwing.cpp index 47e2c92c0..0b9f330cc 100644 --- a/src/core/MidiSwing.cpp +++ b/src/core/MidiSwing.cpp @@ -1,5 +1,5 @@ /* - * MidiSwing.cpp - Swing algo using fixed integer step adjustments that + * MidiSwing.cpp - Swing algo using fixed integer step adjustments that * could be represented as midi. * * Copyright (c) 2004-2014 teknopaul @@ -55,13 +55,13 @@ int MidiSwing::isInTick(MidiTime * curStart, Note * n, Pattern * p) int posInEigth = -1; if (posInBeat >= 12 && posInBeat < 18) - { + { // 1st half of second quarter // add a 0 - 24 tick shift posInEigth = posInBeat - 12; // 0-5 } else if (posInBeat >= 36 && posInBeat < 42) - { + { // 1st half of third quarter posInEigth = posInBeat - 36; // 0-5 } diff --git a/src/core/Track.cpp b/src/core/Track.cpp index 30920823a..5c61dc5ab 100644 --- a/src/core/Track.cpp +++ b/src/core/Track.cpp @@ -1999,6 +1999,9 @@ void TrackOperationsWidget::removeTrack() emit trackRemovalScheduled( m_trackView ); } + + + /*! \brief Update the trackOperationsWidget context menu * * For all track types, we have the Clone and Remove options.