mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use sigc::slots rather than templates + function ptrs for a foreach_region and foreach_crossfade.
git-svn-id: svn://localhost/ardour2/branches/3.0@5118 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
27915ccdc0
commit
a75e811edb
9 changed files with 46 additions and 64 deletions
|
|
@ -167,7 +167,8 @@ AutomationStreamView::redisplay_diskstream ()
|
|||
// Add and display region views, and flag them as valid
|
||||
if (_trackview.is_track()) {
|
||||
_trackview.get_diskstream()->playlist()->foreach_region (
|
||||
static_cast<StreamView*>(this), &StreamView::add_region_view);
|
||||
sigc::mem_fun (*this, &StreamView::add_region_view)
|
||||
);
|
||||
}
|
||||
|
||||
// Stack regions by layer, and remove invalid regions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue