aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-05-22 08:34:00 +0200
committerLars Knoll <lars.knoll@qt.io>2017-05-22 07:01:12 +0000
commit3f9367cb32533b691cb8c761213f21a524e3d1cb (patch)
treee283ee3d0e9909768d95bda219adadaf4b615d8e /src/qml/jsruntime/qv4string_p.h
parente8f36458276cc989dc5f0c33ec27c90fad15137b (diff)
Fix compilation of QtScxml
QtScxml was using internal API in v4, that has changed. Restore the old function signature until all it's uses have been cleaned up. Task-number: QTBUG-60938 Change-Id: Ie40c09da9df9e5684972669cd9a511a868b920a4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4string_p.h')
-rw-r--r--src/qml/jsruntime/qv4string_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4string_p.h b/src/qml/jsruntime/qv4string_p.h
index f5311ae5d4..d9625e3f4e 100644
--- a/src/qml/jsruntime/qv4string_p.h
+++ b/src/qml/jsruntime/qv4string_p.h
@@ -175,6 +175,10 @@ struct Q_QML_PRIVATE_EXPORT String : public Managed {
}
uint toUInt(bool *ok) const;
+ Q_DECL_DEPRECATED void makeIdentifier(ExecutionEngine *) {
+ makeIdentifier();
+ }
+
void makeIdentifier() const {
if (d()->identifier)
return;