CInfoClock: remove not required call of setXPos()

CInfoClock is derived from class ComponentsFrmClock, so we can
use already available members.
This commit is contained in:
2013-11-20 21:56:35 +01:00
parent 68bb453a35
commit 98e48a76a8

View File

@@ -86,7 +86,6 @@ void CInfoClock::paint(bool do_save_bg)
{ {
// calculate current x-position of clock (mute icon on/off) // calculate current x-position of clock (mute icon on/off)
x = CVolumeHelper::getInstance()->getInfoClockX(); x = CVolumeHelper::getInstance()->getInfoClockX();
setXPos(x);
//prepare items before paint //prepare items before paint
initCCLockItems(); initCCLockItems();