add braces and move a destructor into its .cc file
git-svn-id: svn://localhost/ardour2/branches/3.0@9830 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
574333fef3
commit
549de1f298
@ -54,6 +54,10 @@ AutomationRegionView::AutomationRegionView (ArdourCanvas::Group*
|
||||
group->raise_to_top();
|
||||
}
|
||||
|
||||
AutomationRegionView::~AutomationRegionView ()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
AutomationRegionView::init (Gdk::Color const & basic_color, bool /*wfd*/)
|
||||
{
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
double initial_samples_per_unit,
|
||||
Gdk::Color const & basic_color);
|
||||
|
||||
~AutomationRegionView() {}
|
||||
~AutomationRegionView();
|
||||
|
||||
void init (Gdk::Color const & basic_color, bool wfd);
|
||||
|
||||
|
@ -95,8 +95,9 @@ AutomationStreamView::add_region_view_internal (boost::shared_ptr<Region> region
|
||||
/* great. we already have an AutomationRegionView for this Region. use it again. */
|
||||
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*>(*i);;
|
||||
|
||||
if (arv->line())
|
||||
if (arv->line()) {
|
||||
arv->line()->set_list (list);
|
||||
}
|
||||
(*i)->set_valid (true);
|
||||
(*i)->enable_display(wfd);
|
||||
display_region(arv);
|
||||
|
Loading…
Reference in New Issue
Block a user