Commit 191051fd authored by saubatn's avatar saubatn
Browse files

FEATURE 589 Update FrameViewer in order to work with latest InterfaceFrame proposition.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1860 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 6f227c3c
......@@ -125,7 +125,7 @@ QTreeWidgetItem* FrameExplorer::getNewItem(QTreeWidgetItem* parent, Component *a
tw->setText(1, abstractNode->getName());
//-- add children recursively
foreach( InterfaceFrame* intFrame, *(abstractNode->getFrame()->getChildrenFrame()) )
foreach( InterfaceFrame* intFrame, (abstractNode->getFrame()->getChildrenFrame()) )
{
ComponentList cptlst = Application::getAllComponents();
foreach(Component* cp, cptlst)
......@@ -156,7 +156,7 @@ QTreeWidgetItem* FrameExplorer::add(QTreeWidgetItem* parent, Component *abstract
abstractNode->setVisibility(this, true);
//-- add children
foreach( InterfaceFrame* intFrame, *(abstractNode->getFrame()->getChildrenFrame()) )
foreach( InterfaceFrame* intFrame, abstractNode->getFrame()->getChildrenFrame() )
{
ComponentList cptlst = Application::getAllComponents();
foreach(Component* cp, cptlst)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment