diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-05-20 15:43:48 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-05-26 08:04:17 +0000 |
commit | 7accd9cc74d88a17b08c83ea4b8275557dc318bb (patch) | |
tree | bf34489a210340e8866c07f184c0611506ac85a6 /src/qml/qml/qqmlpropertycache_p.h | |
parent | 7645c8e0f88a83d021f0a327617189b7772b14eb (diff) |
Consistently use pointers for the local variant in findProperty
Creating property data on the fly shall be optional, and we generally
use pointers for such "output" parameters.
Change-Id: I0e4c6c079381b60140971f4fd70a25d6548323eb
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index 43ffb0fb36..86435656db 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -137,15 +137,15 @@ public: inline bool isAllowedInRevision(QQmlPropertyData *) const; static QQmlPropertyData *property(QJSEngine *, QObject *, const QStringRef &, - const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData &); + const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData *); static QQmlPropertyData *property(QJSEngine *, QObject *, const QLatin1String &, - const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData &); + const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData *); static QQmlPropertyData *property(QJSEngine *, QObject *, const QV4::String *, - const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData &); + const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData *); static QQmlPropertyData *property(QJSEngine *engine, QObject *obj, const QString &name, const QQmlRefPointer<QQmlContextData> &context, - QQmlPropertyData &local) + QQmlPropertyData *local) { return property(engine, obj, QStringRef(&name), context, local); } |