On 05/18/2014 04:15 PM, Tobias Doerffel wrote:
>
> In src/core/AutomationPattern.cpp:
>
> > @@ -551,6 +551,51 @@ bool AutomationPattern::isAutomated( const AutomatableModel * _m )
> >  }
> >  
> >  
> > +/*! \brief returns a list of all the automation patterns everywhere that are connected to a specific model
> > + *  \param _m the model we want to look for
> > + */
> > +QVector<AutomationPattern *> AutomationPattern::patternsForModel( const AutomatableModel * _m )
>
> for the future: no "_" prefix for parameters anymore.
>
>

Ah, yeah, we already talked about this earlier... thing is,
isAutomated() was already there, and I just copypasted the code from
it... guess I missed the parameter, would have been a simple thing to do
a search&replace there. I'll do some cleanup later (for the other things
as well).