From 98e48a76a83c5d34c74b71ac0f0bc91530721dfb Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 20 Nov 2013 21:56:35 +0100 Subject: [PATCH] CInfoClock: remove not required call of setXPos() CInfoClock is derived from class ComponentsFrmClock, so we can use already available members. --- src/gui/infoclock.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/infoclock.cpp b/src/gui/infoclock.cpp index fd58fccd3..b7e5c4c8e 100644 --- a/src/gui/infoclock.cpp +++ b/src/gui/infoclock.cpp @@ -86,7 +86,6 @@ void CInfoClock::paint(bool do_save_bg) { // calculate current x-position of clock (mute icon on/off) x = CVolumeHelper::getInstance()->getInfoClockX(); - setXPos(x); //prepare items before paint initCCLockItems();