Derive some functions from RecInfoBox::update() (in the derived classes)

For whatever reason, MSVC doesn't like us connecting so many signals to 'RecInfoBox::update()' (crashes the Debug build)
This commit is contained in:
John Emmas 2021-02-26 13:02:51 +00:00
parent 739ee688bf
commit 74670d2789
2 changed files with 22 additions and 0 deletions

View file

@ -168,6 +168,12 @@ DurationInfoBox::render (Cairo::RefPtr<Cairo::Context> const& cr, cairo_rectangl
_layout_value->show_in_cairo_context (cr);
}
void
DurationInfoBox::update ()
{
RecInfoBox::update ();
}
/* ****************************************************************************/
void
@ -246,6 +252,12 @@ XrunInfoBox::render (Cairo::RefPtr<Cairo::Context> const& cr, cairo_rectangle_t*
_layout_value->show_in_cairo_context (cr);
}
void
XrunInfoBox::update ()
{
RecInfoBox::update ();
}
/* ****************************************************************************/
void
@ -363,3 +375,9 @@ RemainInfoBox::render (Cairo::RefPtr<Cairo::Context> const& cr, cairo_rectangle_
cr->move_to (.5 * (ww - w), hh - 4 - h);
_layout_value->show_in_cairo_context (cr);
}
void
RemainInfoBox::update ()
{
RecInfoBox::update ();
}