summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qmlparser/testtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlparser/testtypes.h b/tests/auto/declarative/qmlparser/testtypes.h
index c1f85b9..e124631 100644
--- a/tests/auto/declarative/qmlparser/testtypes.h
+++ b/tests/auto/declarative/qmlparser/testtypes.h
@@ -66,7 +66,7 @@ public:
MyInterface *interface() const { return m_interface; }
void setInterface(MyInterface *iface) { m_interface = iface; }
- static QObject *qmlAttachedProperties(QObject *other) {
+ static MyQmlObject *qmlAttachedProperties(QObject *other) {
MyQmlObject *rv = new MyQmlObject;
rv->setParent(other);
return rv;