[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Dec 21 15:49:03 UTC 2003
CVS commit by okellogg:
calculateHead(): Add a crossed line debugging aid.
M +7 -0 linepath.cpp 1.22
--- kdesdk/umbrello/umbrello/linepath.cpp #1.21:1.22
@@ -390,5 +390,12 @@ QPen LinePath::getPen() {
}
+#ifdef DEBUG_ASSOCLINES
+extern int calls_to_calc_head;
+#endif
+
void LinePath::calculateHead() {
+#ifdef DEBUG_ASSOCLINES
+ calls_to_calc_head++;
+#endif
uint size = count();
int xa = getPoint(size - 2).x();
More information about the umbrello-devel
mailing list