mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsFrmClock: ensure clean timer instance
For safety only.
This commit is contained in:
@@ -112,8 +112,9 @@ CComponentsFrmClock::CComponentsFrmClock( const int& x_pos,
|
|||||||
|
|
||||||
CComponentsFrmClock::~CComponentsFrmClock()
|
CComponentsFrmClock::~CComponentsFrmClock()
|
||||||
{
|
{
|
||||||
if (cl_timer)
|
if (cl_timer){
|
||||||
delete cl_timer;
|
delete cl_timer; cl_timer = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsFrmClock::initClockFont(int dx, int dy)
|
void CComponentsFrmClock::initClockFont(int dx, int dy)
|
||||||
|
Reference in New Issue
Block a user