mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -227,7 +227,7 @@ void CComponentsForm::insertCCItem(const uint& cc_item_id, CComponentsItem* cc_I
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (v_cc_items.empty()){
|
if (v_cc_items.empty()){
|
||||||
v_cc_items.push_back(cc_Item);
|
addCCItem(cc_Item);
|
||||||
#ifdef DEBUG_CC
|
#ifdef DEBUG_CC
|
||||||
printf("[CComponentsForm] %s insert cc_Item not possible, v_cc_items is empty, cc_Item added\n", __FUNCTION__);
|
printf("[CComponentsForm] %s insert cc_Item not possible, v_cc_items is empty, cc_Item added\n", __FUNCTION__);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user