NOOP: whitespace and multiline -> one line changes

This commit is contained in:
Paul Davis 2022-03-30 10:33:10 -06:00
parent 22a56de13a
commit e0fa447d29
3 changed files with 6 additions and 10 deletions

View File

@ -166,9 +166,7 @@ AudioStreamView::redisplay_track ()
// Add and display views, and flag them as valid
if (_trackview.is_audio_track()) {
_trackview.track()->playlist()->foreach_region(
sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view))
);
_trackview.track()->playlist()->foreach_region (sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view)));
}
// Stack regions by layer, and remove invalid regions

View File

@ -186,7 +186,8 @@ MidiStreamView::display_region(MidiRegionView* region_view, bool load_model)
region_view->enable_display (true);
region_view->set_height (child_height());
boost::shared_ptr<MidiSource> source(region_view->midi_region()->midi_source(0));
boost::shared_ptr<MidiSource> source (region_view->midi_region()->midi_source(0));
if (!source) {
error << _("attempt to display MIDI region with no source") << endmsg;
return;
@ -202,9 +203,7 @@ MidiStreamView::display_region(MidiRegionView* region_view, bool load_model)
return;
}
_range_dirty = update_data_note_range(
source->model()->lowest_note(),
source->model()->highest_note());
_range_dirty = update_data_note_range (source->model()->lowest_note(), source->model()->highest_note());
// Display region contents
region_view->display_model(source->model());
@ -290,8 +289,7 @@ MidiStreamView::redisplay_track ()
}
// Add and display region views, and flag them as valid
_trackview.track()->playlist()->foreach_region(
sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view)));
_trackview.track()->playlist()->foreach_region (sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view)));
// Stack regions by layer, and remove invalid regions
layer_regions();

View File

@ -770,7 +770,7 @@ SMFSource::load_model (const Glib::Threads::Mutex::Lock& lock, bool force_reload
_model->set_edited (false);
invalidate(lock);
free(buf);
free (buf);
}
Evoral::SMF::UsedChannels