mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
Fix background paint header clock in channellist
This commit is contained in:
@@ -2155,6 +2155,12 @@ void CChannelList::paintHead()
|
|||||||
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
||||||
header.paint(CC_SAVE_SCREEN_NO);
|
header.paint(CC_SAVE_SCREEN_NO);
|
||||||
|
|
||||||
|
if (headerClock != NULL) {
|
||||||
|
headerClock->clearSavedScreen();
|
||||||
|
delete headerClock;
|
||||||
|
headerClock = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (g_Sectionsd->getIsTimeSet()) {
|
if (g_Sectionsd->getIsTimeSet()) {
|
||||||
if (headerClock == NULL) {
|
if (headerClock == NULL) {
|
||||||
headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M", true);
|
headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M", true);
|
||||||
|
@@ -305,7 +305,7 @@ bool CComponentsFrmClock::stopThread()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kill();
|
hide();
|
||||||
cl_thread = 0;
|
cl_thread = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user