From 3b416a69869c8a1b8cdc802a77201066280c9026 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 28 Feb 2014 13:45:29 +0100 Subject: Make QQmlPropertyData::name const Change-Id: Idfa52f625fd116b9fc858bb383a1ee17b3ff3e66 Reviewed-by: Lars Knoll --- src/qml/qml/qqmlpropertycache_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/qml/qqmlpropertycache_p.h') diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index fe7f204e87..a314d22f8b 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -228,8 +228,8 @@ public: static Flags flagsForProperty(const QMetaProperty &, QQmlEngine *engine = 0); void load(const QMetaProperty &, QQmlEngine *engine = 0); void load(const QMetaMethod &); - QString name(QObject *); - QString name(const QMetaObject *); + QString name(QObject *) const; + QString name(const QMetaObject *) const; void markAsOverrideOf(QQmlPropertyData *predecessor); -- cgit v1.2.3