Permalink
Browse files

Remember to remove debug stuff

  • Loading branch information...
aelliott committed Apr 18, 2013
1 parent 42cae71 commit 4ec0f82c7e51e666440046568bf8ce273d7fe181
Showing with 0 additions and 5 deletions.
  1. +0 −1 src/developer/graph.cpp
  2. +0 −4 src/developer/graphview/graphscene.cpp
View
@@ -352,7 +352,6 @@ std::vector<Edge *> Graph::edges(const QString &id) const
if(e->id() == from->id())
duplicate = true;
}
qDebug() << duplicate;
if(!duplicate)
result.push_back(e);
}
@@ -764,17 +764,13 @@ void GraphScene::removeEdge(EdgeItem *edge)
void GraphScene::removeNode(NodeItem *node)
{
qDebug() << "Removing node.";
qDebug() << "Node: " << node->id();
if(node == 0)
{
qDebug() << "GraphScene::removeNode() passed null pointer, ignoring";
return;
}
qDebug() << "Getting edges";
std::vector<Edge *> edges = node->node()->edges();
qDebug() << "Got edges";
for(std::vector<Edge *>::iterator iter = edges.begin();
iter != edges.end(); ++iter)
{

0 comments on commit 4ec0f82

Please sign in to comment.