Author: aschnell Date: Sun Jan 18 13:49:51 2009 New Revision: 54746 URL: http://svn.opensuse.org/viewcvs/yast?rev=54746&view=rev Log: - don't draw edges twice Modified: trunk/qt-graph/src/QGraph.cc Modified: trunk/qt-graph/src/QGraph.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-graph/src/QGraph.cc?rev=54746&r1=54745&r2=54746&view=diff ============================================================================== --- trunk/qt-graph/src/QGraph.cc (original) +++ trunk/qt-graph/src/QGraph.cc Sun Jan 18 13:49:51 2009 @@ -213,7 +213,7 @@ pen2.setWidthF(1); - for (Agnode_t* node = agfstnode(graph); node != NULL; node = agnxtnode(graph, node)) + for (node_t* node = agfstnode(graph); node != NULL; node = agnxtnode(graph, node)) { QRectF rect(0.0, 0.0, 72.0*ND_width(node), 72.0*ND_height(node)); rect.moveCenter(gToQ(ND_coord_i(node))); @@ -243,7 +243,7 @@ if (tooltip && tooltip[0] != '\0') item->setToolTip(tooltip); - for (Agedge_t* edge = agfstedge(graph, node); edge != NULL; edge = agnxtedge(graph, edge, node)) + for (edge_t* edge = agfstout(graph, node); edge != NULL; edge = agnxtout(graph, edge)) { const splines* spl = ED_spl(edge); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org