diff options
Diffstat (limited to 'addon/doxmlparser/src/graphhandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/graphhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxmlparser/src/graphhandler.cpp b/addon/doxmlparser/src/graphhandler.cpp index 7816970..de30923 100644 --- a/addon/doxmlparser/src/graphhandler.cpp +++ b/addon/doxmlparser/src/graphhandler.cpp @@ -64,7 +64,7 @@ void GraphHandler::startNode(const QXmlAttributes &attrib) NodeHandler *n = new NodeHandler(this); n->startNode(attrib); m_nodes.append(n); - m_nodeDict->insert(attrib.value("id"),n); + m_nodeDict->insert(attrib.value("id").utf8(),n); } INodeIterator *GraphHandler::nodes() const @@ -74,7 +74,7 @@ INodeIterator *GraphHandler::nodes() const NodeHandler *GraphHandler::getNodeById(const QString &id) const { - return m_nodeDict->find(id); + return m_nodeDict->find(id.utf8()); } //------------------------------------------------------------------------ |