mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsFrmClock: Remove double call of initCCLockItems()
- initCCLockItems() is called by the refresh() function and the paint() function in initClockThread()
This commit is contained in:
@@ -256,9 +256,6 @@ void* CComponentsFrmClock::initClockThread(void *arg)
|
|||||||
//start loop for paint
|
//start loop for paint
|
||||||
while(1) {
|
while(1) {
|
||||||
if (clock->paintClock) {
|
if (clock->paintClock) {
|
||||||
//refresh item property values
|
|
||||||
clock->refresh();
|
|
||||||
|
|
||||||
//paint segements, but wihtout saved backgrounds
|
//paint segements, but wihtout saved backgrounds
|
||||||
clock->paint(CC_SAVE_SCREEN_NO);
|
clock->paint(CC_SAVE_SCREEN_NO);
|
||||||
count = time(0);
|
count = time(0);
|
||||||
|
Reference in New Issue
Block a user