CComponentsItem: move function isAdded() to CComponentsItem class

This commit is contained in:
2013-10-19 01:13:26 +02:00
parent a1e5a60184
commit 3438b23f68
7 changed files with 19 additions and 18 deletions

View File

@@ -232,12 +232,12 @@ void CComponentsWindow::initCCWItems()
initBody();
//add header, body and footer items only one time
if (!isAdded(ccw_head))
if (!ccw_head->isAdded())
addCCItem(ccw_head);
if (!isAdded(ccw_body))
if (!ccw_body->isAdded())
addCCItem(ccw_body);
if (ccw_footer)
if (!isAdded(ccw_footer))
if (!ccw_footer->isAdded())
addCCItem(ccw_footer);
}