mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsItem: move function isAdded() to CComponentsItem class
Origin commit data
------------------
Commit: 3438b23f68
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user