From a974ef0652147d819dd760481d5f3477bde95be4 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 30 Aug 2012 22:05:09 +0200 Subject: [PATCH] CChannellist: remove calculateElements() is already included in print()clHead->paint() and refreshElement() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/936e9659094a0605c14a677eba51f826ba4f5ebe Author: Thilo Graf Date: 2012-08-30 (Thu, 30 Aug 2012) ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index b8c437df2..9effe9e8b 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2005,8 +2005,6 @@ void CChannelList::paintHead() clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_CLOCK); clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_PICTURE, "", &indexLogo); } - - clHead->calculateElements(); clHead->paint(); } @@ -2017,7 +2015,6 @@ void CChannelList::showChannelLogo() int dummy; g_PicViewer->GetLogoName(chanlist[selected]->channel_id, chanlist[selected]->getName(), lname, &dummy, &dummy); clHead->refreshElement(indexLogo, lname); - clHead->calculateElements(); clHead->paintElement(indexLogo, true); } }