CComponentsForm: use addCCItem() instead push_back

push_back doesn't make all necessary steps to add an item


Origin commit data
------------------
Branch: ni/coolstream
Commit: 460c8bbff3
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-23 (Sun, 23 Jun 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-06-23 22:28:23 +02:00
parent ce93cfe5d5
commit d09c6a7c3c

View File

@@ -227,7 +227,7 @@ void CComponentsForm::insertCCItem(const uint& cc_item_id, CComponentsItem* cc_I
}
if (v_cc_items.empty()){
v_cc_items.push_back(cc_Item);
addCCItem(cc_Item);
#ifdef DEBUG_CC
printf("[CComponentsForm] %s insert cc_Item not possible, v_cc_items is empty, cc_Item added\n", __FUNCTION__);
#endif