aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlmetaobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlmetaobject_p.h')
-rw-r--r--src/qml/qml/qqmlmetaobject_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlmetaobject_p.h b/src/qml/qml/qqmlmetaobject_p.h
index 9465458780..a5b9b758a8 100644
--- a/src/qml/qml/qqmlmetaobject_p.h
+++ b/src/qml/qml/qqmlmetaobject_p.h
@@ -75,7 +75,7 @@ public:
typedef QVarLengthArray<int, 9> ArgTypeStorage;
inline QQmlMetaObject() = default;
- inline QQmlMetaObject(QObject *);
+ inline QQmlMetaObject(const QObject *);
inline QQmlMetaObject(const QMetaObject *);
inline QQmlMetaObject(QQmlPropertyCache *);
inline QQmlMetaObject(const QQmlMetaObject &);
@@ -108,7 +108,7 @@ protected:
};
-QQmlMetaObject::QQmlMetaObject(QObject *o)
+QQmlMetaObject::QQmlMetaObject(const QObject *o)
{
if (o)
_m = o->metaObject();