diff options
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 a6517cc3ff..460e6d9a85 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -185,7 +185,7 @@ public: inline QQmlPropertyData *overrideData(QQmlPropertyData *) const; inline bool isAllowedInRevision(QQmlPropertyData *) const; - static QQmlPropertyData *property(QJSEngine *, QObject *, const QStringRef &, + static QQmlPropertyData *property(QJSEngine *, QObject *, QStringView, const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData *); static QQmlPropertyData *property(QJSEngine *, QObject *, const QLatin1String &, const QQmlRefPointer<QQmlContextData> &, QQmlPropertyData *); @@ -196,7 +196,7 @@ public: const QQmlRefPointer<QQmlContextData> &context, QQmlPropertyData *local) { - return property(engine, obj, QStringRef(&name), context, local); + return property(engine, obj, QStringView(name), context, local); } //see QMetaObjectPrivate::originalClone |