From dc3d889111c140c1f459a64c9f99d75a7ba9f825 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Thu, 28 Nov 2013 02:56:07 +0100 Subject: [PATCH] CComponentsFrmClock: Remove double call of initCCLockItems() - initCCLockItems() is called by the refresh() function and the paint() function in initClockThread() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/05cc6f18c1726349a456134eb0d4239b062c0162 Author: Michael Liebmann 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 was generated by Migit --- src/gui/components/cc_frm_clock.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index 13bbb708d..d9b308ab7 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -256,9 +256,6 @@ void* CComponentsFrmClock::initClockThread(void *arg) //start loop for paint while(1) { if (clock->paintClock) { - //refresh item property values - clock->refresh(); - //paint segements, but wihtout saved backgrounds clock->paint(CC_SAVE_SCREEN_NO); count = time(0);