CComponentsWindow: remove redundant init of header and footer

Origin commit data
------------------
Branch: ni/coolstream
Commit: a6eb67d456
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-05 (Wed, 05 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-02-05 11:14:52 +01:00
parent bd622c2e3f
commit 0c5a0e6cd3

View File

@@ -212,10 +212,6 @@ void CComponentsWindow::initCCWItems()
#ifdef DEBUG_CC
printf("[CComponentsWindow] [%s - %d] init items...\n", __func__, __LINE__);
#endif
initHeader();
initFooter();
initBody();
//add/remove header if required
if (ccw_show_header){
initHeader();
@@ -236,6 +232,8 @@ void CComponentsWindow::initCCWItems()
}
}
initBody();
//add header, body and footer items only one time
if (ccw_head)
if (!ccw_head->isAdded())