summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 4189748..627989f 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -2477,7 +2477,7 @@ void DotGfxHierarchyTable::addClassList(ClassSDict *cl)
}
}
-DotGfxHierarchyTable::DotGfxHierarchyTable() : m_curNodeNumber(0)
+DotGfxHierarchyTable::DotGfxHierarchyTable() : m_curNodeNumber(1)
{
m_rootNodes = new QList<DotNode>;
m_usedNodes = new QDict<DotNode>(1009);