summaryrefslogtreecommitdiff
path: root/src/line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/line.cpp')
-rw-r--r--src/line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line.cpp b/src/line.cpp
index 527fab3..bb58e1e 100644
--- a/src/line.cpp
+++ b/src/line.cpp
@@ -94,7 +94,7 @@ Line::saveToXml(QDomDocument doc, QDomElement element)
if (connector->hub()) {
QDomElement hubElement = doc.createElement("hub");
connectorElement.appendChild(hubElement);
- hubElement.setAttribute("owner", connector->hub()->owner()->id());
+ hubElement.setAttribute("owner", connector->hub()->owner()->id().toString());
}
}
}