diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2014-02-28 13:45:29 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-03 04:07:51 +0100 |
commit | 3b416a69869c8a1b8cdc802a77201066280c9026 (patch) | |
tree | 49fe4985c638282413640109097f792fb0ebe00f /src/qml/qml/qqmlpropertycache_p.h | |
parent | 76e0a3b4da22fab6c5fb94e12f3a94fba83fd042 (diff) |
Make QQmlPropertyData::name const
Change-Id: Idfa52f625fd116b9fc858bb383a1ee17b3ff3e66
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |