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

@@ -707,7 +707,7 @@ void CComponentsHeader::initCCItems()
initLogo();
}
void CComponentsHeader::paint(bool do_save_bg)
void CComponentsHeader::paint(const bool &do_save_bg)
{
//prepare items
initCCItems();