components: use const bool& parameter in paint methodes

This commit is contained in:
2019-10-27 16:24:47 +01:00
parent 7783b755d0
commit d86dcd36a7
43 changed files with 61 additions and 60 deletions

View File

@@ -381,7 +381,7 @@ void CComponentsFooter::paintButtons(const int& x_pos,
const int& label_width,
const int& context_buttons,
Font* font,
bool do_save_bg)
const bool &do_save_bg)
{
this->setDimensionsAll(x_pos, y_pos, w, h);
this->setButtonFont(font);