mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Implement a derived function for 'GainMeter::redraw_metrics()'
I'm not sure why exactly but at this line in 'GainMeter::set_controls ()' :-
model_connections, invalidator (*this), boost::bind (&GainMeter::redraw_metrics, this), gui_context()
MSVC will not allow us to pass a base class function to boost::bind(). I tried explicitly specifying the base class and I also tried making the function public / making it virtual etc but the only thing which works is to implement a derived function.
It's somehow related to changing the signal from 'TypeChanged' to 'MeterTypeChanged' but I don't entirely understand why... :-(
This commit is contained in:
parent
dc131da53b
commit
169e15483a
2 changed files with 7 additions and 0 deletions
|
|
@ -1117,3 +1117,9 @@ GainMeter::route_active_changed ()
|
|||
meter_configuration_changed (_meter->input_streams ());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
GainMeter::redraw_metrics ()
|
||||
{
|
||||
GainMeterBase::redraw_metrics ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue