summaryrefslogtreecommitdiffstats
path: root/src/cnitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cnitem.cpp')
-rw-r--r--src/cnitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cnitem.cpp b/src/cnitem.cpp
index 91a7e88..b6d75c9 100644
--- a/src/cnitem.cpp
+++ b/src/cnitem.cpp
@@ -133,8 +133,8 @@ void CNItem::updateNodeLevels()
it.data().node->setLevel(l);
}
- const ItemList::iterator end = m_tqchildren.end();
- for ( ItemList::iterator it = m_tqchildren.begin(); it != end; ++it )
+ const ItemList::iterator end = m_children.end();
+ for ( ItemList::iterator it = m_children.begin(); it != end; ++it )
{
if ( CNItem *cnItem = dynamic_cast<CNItem*>((Item*)*it) )
cnItem->updateNodeLevels();