diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-09-07 10:09:31 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-09-22 08:20:21 +0000 |
commit | 5322867e77426c2ad30e2efb13ebc4712c0c9772 (patch) | |
tree | 2f22c903355ce15e16e33d6f27eec780683b59d5 /src/qml/qml/qqmltypeloader_p.h | |
parent | ff347ccb093c8be4b44305516e644a17d01d6c30 (diff) |
Fix function signature
Returning a PersistentValue doesn't make much sense.
Change-Id: I6044a12e48aa835ef78008e070bacda5125a7ca7
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmltypeloader_p.h')
-rw-r--r-- | src/qml/qml/qqmltypeloader_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltypeloader_p.h b/src/qml/qml/qqmltypeloader_p.h index 5be478fa65..e7b4b8f95b 100644 --- a/src/qml/qml/qqmltypeloader_p.h +++ b/src/qml/qml/qqmltypeloader_p.h @@ -474,7 +474,7 @@ public: QQmlTypeNameCache *importCache; QList<QQmlScriptBlob *> scripts; - QV4::PersistentValue scriptValueForContext(QQmlContextData *parentCtxt); + QV4::ReturnedValue scriptValueForContext(QQmlContextData *parentCtxt); protected: virtual void clear(); // From QQmlCleanup |