CComponentsFooter: remove FIXME tag

fixed since 1b2eea185f
Obsolete wrong types caused this.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 47f7426aa7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-28 (Wed, 28 Jun 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-06-28 20:36:51 +02:00
parent ec16de6f28
commit 6c95840345

View File

@@ -123,8 +123,8 @@ void CComponentsFooter::setButtonLabels(const struct button_label_cc * const con
* If already existing some items then subtract those width from footer width. * If already existing some items then subtract those width from footer width.
* ...so we have the possible usable size for button container. * ...so we have the possible usable size for button container.
*/ */
if(!v_cc_items.empty()){ //FIXME: footer container seems always not empty here, so here j initialized with = 1. I dont't know where it comes from! dbt! if(!v_cc_items.empty()){
for (size_t j= 1; j< size(); j++) for (size_t j= 0; j< size(); j++)
w_chain -= getCCItem(j)->getWidth(); w_chain -= getCCItem(j)->getWidth();
} }