components: use const bool& parameter in paint methodes

Origin commit data
------------------
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)
This commit is contained in:
2019-10-27 22:56:49 +01:00
committed by vanhofen
parent 4e84787e92
commit 2afd15ea32
43 changed files with 61 additions and 60 deletions

View File

@@ -211,7 +211,7 @@ int CProgressWindow::exec(CMenuTarget* parent, const string & /*actionKey*/)
return menu_return::RETURN_REPAINT;
}
void CProgressWindow::paint(bool do_save_bg)
void CProgressWindow::paint(const bool &do_save_bg)
{
fitItems();
CComponentsWindow::paint(do_save_bg);