Commit 4e498caf authored by Christian Kamm's avatar Christian Kamm
Browse files

Fix the build.

50cc55af broke it.
parent 50cc55af
......@@ -331,8 +331,6 @@ public:
: _xml(dev)
{}
Q_DECLARE_TR_FUNCTIONS(QmlJS::Interpreter::QmlXmlReader)
bool operator()(QMap<QString, FakeMetaObject *> *objects) {
Q_ASSERT(objects);
_objects = objects;
......@@ -351,6 +349,8 @@ public:
return _xml.errorString();
}
Q_DECLARE_TR_FUNCTIONS(QmlJS::Interpreter::QmlXmlReader)
private:
void unexpectedElement(const QStringRef &child, const QString &parent) {
_xml.raiseError(tr("Unexpected element <%1> in <%2>").arg(child.toString(), parent));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment