mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
fix blinking clock in some modes (thx dbo)
This commit is contained in:
@@ -2168,9 +2168,13 @@ void CInfoViewer::killTitle()
|
|||||||
sigbox->kill();
|
sigbox->kill();
|
||||||
#endif
|
#endif
|
||||||
header->kill();
|
header->kill();
|
||||||
#if 0 //not really required to kill clock, header does this
|
#if 1 //not really required to kill clock, header does this <--- really ????
|
||||||
if (clock)
|
if (clock)
|
||||||
|
{
|
||||||
clock->kill();
|
clock->kill();
|
||||||
|
delete clock;
|
||||||
|
clock = NULL;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
body->kill();
|
body->kill();
|
||||||
|
|
||||||
@@ -2380,7 +2384,10 @@ void CInfoViewer::ResetModules()
|
|||||||
delete header; header = NULL;
|
delete header; header = NULL;
|
||||||
delete body; body = NULL;
|
delete body; body = NULL;
|
||||||
delete infobar_txt; infobar_txt = NULL;
|
delete infobar_txt; infobar_txt = NULL;
|
||||||
|
if (clock)
|
||||||
|
{
|
||||||
delete clock; clock = NULL;
|
delete clock; clock = NULL;
|
||||||
|
}
|
||||||
delete txt_cur_start; txt_cur_start = NULL;
|
delete txt_cur_start; txt_cur_start = NULL;
|
||||||
delete txt_cur_event; txt_cur_event = NULL;
|
delete txt_cur_event; txt_cur_event = NULL;
|
||||||
delete txt_cur_event_rest; txt_cur_event_rest = NULL;
|
delete txt_cur_event_rest; txt_cur_event_rest = NULL;
|
||||||
|
Reference in New Issue
Block a user