mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
tweak API of Selectable
This commit is contained in:
parent
6adac60323
commit
8125ea5909
7 changed files with 14 additions and 12 deletions
|
|
@ -499,7 +499,7 @@ StreamView::num_selected_regionviews () const
|
|||
uint32_t cnt = 0;
|
||||
|
||||
for (list<RegionView*>::const_iterator i = region_views.begin(); i != region_views.end(); ++i) {
|
||||
if ((*i)->get_selected()) {
|
||||
if ((*i)->selected()) {
|
||||
++cnt;
|
||||
}
|
||||
}
|
||||
|
|
@ -518,7 +518,7 @@ void
|
|||
StreamView::foreach_selected_regionview (sigc::slot<void,RegionView*> slot)
|
||||
{
|
||||
for (list<RegionView*>::iterator i = region_views.begin(); i != region_views.end(); ++i) {
|
||||
if ((*i)->get_selected()) {
|
||||
if ((*i)->selected()) {
|
||||
slot (*i);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue