summaryrefslogtreecommitdiff
path: root/src/plugins/xml/XmlParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/xml/XmlParser.cpp')
-rw-r--r--src/plugins/xml/XmlParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp
index bcac7d3..434a72c 100644
--- a/src/plugins/xml/XmlParser.cpp
+++ b/src/plugins/xml/XmlParser.cpp
@@ -60,7 +60,7 @@ public:
void start(Variant::mapType &args) override
{
- scope().push(new model::Typesystem(manager(), args["name"].asString()));
+ scope().push(project()->createTypesystem(args["name"].asString()));
}
void end() override