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

@@ -288,7 +288,7 @@ void CComponentsButton::initCCBtnItems()
}
void CComponentsButton::paint(bool do_save_bg)
void CComponentsButton::paint(const bool &do_save_bg)
{
//prepare items before paint
initCCBtnItems();