mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Fix compilation without USE_MIDI
This commit is contained in:
@@ -248,8 +248,6 @@ const TCPLines &NoteTrackControls::GetTCPLines() const
|
||||
return noteTrackTCPLines;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
#ifdef EXPERIMENTAL_MIDI_OUT
|
||||
@@ -329,3 +327,5 @@ auto GetDefaultNoteTrackHeight::Implementation() -> Function {
|
||||
};
|
||||
}
|
||||
static GetDefaultNoteTrackHeight registerGetDefaultNoteTrackHeight;
|
||||
|
||||
#endif
|
||||
|
@@ -396,12 +396,12 @@ UIHandle::Result TimeShiftHandle::Click
|
||||
ok = false;
|
||||
else
|
||||
captureClips = true;
|
||||
},
|
||||
#ifdef USE_MIDI
|
||||
},
|
||||
[&](NoteTrack *) {
|
||||
captureClips = true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
);
|
||||
|
||||
if ( ! ok )
|
||||
|
Reference in New Issue
Block a user