CComponentsFrmClock: Remove double call of initCCLockItems()

- initCCLockItems() is called by the refresh() function
 and the paint() function in initClockThread()


Origin commit data
------------------
Commit: 05cc6f18c1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)

Origin message was:
------------------
CComponentsFrmClock: Remove double call of initCCLockItems()

- initCCLockItems() is called by the refresh() function
 and the paint() function in initClockThread()
This commit is contained in:
Michael Liebmann
2013-11-28 02:56:07 +01:00
parent c9b42ca396
commit fd896cb6fd

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