aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcompiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlcompiler.cpp')
-rw-r--r--src/qml/qml/qqmlcompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcompiler.cpp b/src/qml/qml/qqmlcompiler.cpp
index 08ae37e747..a17080f559 100644
--- a/src/qml/qml/qqmlcompiler.cpp
+++ b/src/qml/qml/qqmlcompiler.cpp
@@ -3243,7 +3243,7 @@ bool QQmlCompiler::buildDynamicMetaAliases(QQmlScript::Object *obj)
continue;
if (!p->defaultValue)
- COMPILE_EXCEPTION(obj, tr("No property alias location"));
+ COMPILE_EXCEPTION(p, tr("No property alias location"));
if (!p->defaultValue->values.isOne() ||
p->defaultValue->values.first()->object ||