summaryrefslogtreecommitdiff
path: root/src/declarative/qml/qdeclarativelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativelist.cpp')
-rw-r--r--src/declarative/qml/qdeclarativelist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativelist.cpp b/src/declarative/qml/qdeclarativelist.cpp
index 4c9586c21e..af720d71f2 100644
--- a/src/declarative/qml/qdeclarativelist.cpp
+++ b/src/declarative/qml/qdeclarativelist.cpp
@@ -42,7 +42,7 @@
#include "qdeclarativelist.h"
#include "qdeclarativelist_p.h"
#include "qdeclarativeengine_p.h"
-#include "qdeclarativemetaproperty_p.h"
+#include "qdeclarativeproperty_p.h"
QT_BEGIN_NAMESPACE
@@ -174,7 +174,7 @@ bool QDeclarativeListReference::append(QObject *o) const
{
if (!canAppend()) return false;
- if (o && !QDeclarativeMetaPropertyPrivate::canConvert(o->metaObject(), d->elementType))
+ if (o && !QDeclarativePropertyPrivate::canConvert(o->metaObject(), d->elementType))
return false;
d->property.append(&d->property, o);