mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
components: use const bool& parameter in paint methodes
This commit is contained in:
@@ -56,7 +56,7 @@ CComponentsShapeSquare::CComponentsShapeSquare( const int x_pos, const int y_pos
|
||||
initParent(parent);
|
||||
}
|
||||
|
||||
void CComponentsShapeSquare::paint(bool do_save_bg)
|
||||
void CComponentsShapeSquare::paint(const bool &do_save_bg)
|
||||
{
|
||||
paintInit(do_save_bg);
|
||||
}
|
||||
@@ -105,7 +105,7 @@ CComponentsShapeCircle::CComponentsShapeCircle( int x_pos, int y_pos, int diam,
|
||||
//
|
||||
// + - +
|
||||
|
||||
void CComponentsShapeCircle::paint(bool do_save_bg)
|
||||
void CComponentsShapeCircle::paint(const bool &do_save_bg)
|
||||
{
|
||||
paintInit(do_save_bg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user