mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
NOOP: whitespace and multiline -> one line changes
This commit is contained in:
parent
22a56de13a
commit
e0fa447d29
3 changed files with 6 additions and 10 deletions
|
|
@ -166,9 +166,7 @@ AudioStreamView::redisplay_track ()
|
||||||
|
|
||||||
// Add and display views, and flag them as valid
|
// Add and display views, and flag them as valid
|
||||||
if (_trackview.is_audio_track()) {
|
if (_trackview.is_audio_track()) {
|
||||||
_trackview.track()->playlist()->foreach_region(
|
_trackview.track()->playlist()->foreach_region (sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view)));
|
||||||
sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Stack regions by layer, and remove invalid regions
|
// Stack regions by layer, and remove invalid regions
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,7 @@ MidiStreamView::display_region(MidiRegionView* region_view, bool load_model)
|
||||||
region_view->set_height (child_height());
|
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) {
|
if (!source) {
|
||||||
error << _("attempt to display MIDI region with no source") << endmsg;
|
error << _("attempt to display MIDI region with no source") << endmsg;
|
||||||
return;
|
return;
|
||||||
|
|
@ -202,9 +203,7 @@ MidiStreamView::display_region(MidiRegionView* region_view, bool load_model)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_range_dirty = update_data_note_range(
|
_range_dirty = update_data_note_range (source->model()->lowest_note(), source->model()->highest_note());
|
||||||
source->model()->lowest_note(),
|
|
||||||
source->model()->highest_note());
|
|
||||||
|
|
||||||
// Display region contents
|
// Display region contents
|
||||||
region_view->display_model(source->model());
|
region_view->display_model(source->model());
|
||||||
|
|
@ -290,8 +289,7 @@ MidiStreamView::redisplay_track ()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add and display region views, and flag them as valid
|
// Add and display region views, and flag them as valid
|
||||||
_trackview.track()->playlist()->foreach_region(
|
_trackview.track()->playlist()->foreach_region (sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view)));
|
||||||
sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view)));
|
|
||||||
|
|
||||||
// Stack regions by layer, and remove invalid regions
|
// Stack regions by layer, and remove invalid regions
|
||||||
layer_regions();
|
layer_regions();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue