components: use const bool& parameter in paint methodes

Origin commit data
------------------
Branch: ni/coolstream
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2019-10-27 22:56:49 +01:00
committed by vanhofen
parent cfa35a8344
commit e8929e8cbd
43 changed files with 61 additions and 60 deletions

View File

@@ -159,7 +159,7 @@ class CComponentsFrmClock : public CComponentsForm, public CCTextScreen
void setClockInterval(const int& seconds){cl_interval = seconds;}
///show clock on screen
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
///hide clock on screen
void hide(){Stop(); CComponentsForm::hide();}
///does the same like kill() from base class, but stopping clock before kill