Commit e1352d6a authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] - removed some unused debug messages.

parent 1032899a
...@@ -306,8 +306,6 @@ bool WQtNetworkEditor::event( QEvent* event ) ...@@ -306,8 +306,6 @@ bool WQtNetworkEditor::event( QEvent* event )
WQtNetworkInputPort *ip = NULL; WQtNetworkInputPort *ip = NULL;
WQtNetworkOutputPort *op = NULL; WQtNetworkOutputPort *op = NULL;
WLogger::getLogger()->addLogMessage( "1.", "NetworkEditor", LL_ERROR );
for ( QList< WQtNetworkInputPort* >::const_iterator iter = inItem->getInPorts().begin(); for ( QList< WQtNetworkInputPort* >::const_iterator iter = inItem->getInPorts().begin();
iter != inItem->getInPorts().end(); iter != inItem->getInPorts().end();
++iter ) ++iter )
...@@ -318,8 +316,6 @@ bool WQtNetworkEditor::event( QEvent* event ) ...@@ -318,8 +316,6 @@ bool WQtNetworkEditor::event( QEvent* event )
ip = inP; ip = inP;
} }
} }
WLogger::getLogger()->addLogMessage( "2", "NetworkEditor", LL_ERROR );
for ( QList< WQtNetworkOutputPort* >::const_iterator iter = outItem->getOutPorts().begin(); for ( QList< WQtNetworkOutputPort* >::const_iterator iter = outItem->getOutPorts().begin();
iter != outItem->getOutPorts().end(); iter != outItem->getOutPorts().end();
++iter ) ++iter )
...@@ -331,17 +327,12 @@ bool WQtNetworkEditor::event( QEvent* event ) ...@@ -331,17 +327,12 @@ bool WQtNetworkEditor::event( QEvent* event )
} }
} }
WLogger::getLogger()->addLogMessage( "3", "NetworkEditor", LL_ERROR );
WQtNetworkArrow *ar = NULL; WQtNetworkArrow *ar = NULL;
wlog::error( "networkeditor" ) << "gehe durch " << m_scene->items().size() << " items";
for ( QList< QGraphicsItem * >::const_iterator iter = m_scene->items().begin(); for ( QList< QGraphicsItem * >::const_iterator iter = m_scene->items().begin();
iter != m_scene->items().end(); iter != m_scene->items().end();
++iter ) ++iter )
{ {
wlog::error( "netw" ) << *iter;
ar = dynamic_cast< WQtNetworkArrow* >( *iter ); ar = dynamic_cast< WQtNetworkArrow* >( *iter );
if( ar && if( ar &&
ar->getStartPort() == op && ar->getStartPort() == op &&
......
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