CComponentsFrmClock: Remove double call of initCCLockItems()

- initCCLockItems() is called by the refresh() function
  and the paint() function in initClockThread()
This commit is contained in:
M. Liebmann
2013-11-28 02:56:07 +01:00
parent 435d25c0ce
commit 05cc6f18c1

View File

@@ -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);