aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/jsapi/qjsmanagedvalue.h1
-rw-r--r--src/qml/jsruntime/qv4sequenceobject.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsapi/qjsmanagedvalue.h b/src/qml/jsapi/qjsmanagedvalue.h
index 7a63e5ffb3..7d4764db9c 100644
--- a/src/qml/jsapi/qjsmanagedvalue.h
+++ b/src/qml/jsapi/qjsmanagedvalue.h
@@ -135,6 +135,7 @@ public:
void setProperty(const QString &name, const QJSValue &value);
bool deleteProperty(const QString &name);
+ // ### Qt 7 use qsizetype instead.
// Array indexing
bool hasProperty(quint32 arrayIndex) const;
bool hasOwnProperty(quint32 arrayIndex) const;
diff --git a/src/qml/jsruntime/qv4sequenceobject.cpp b/src/qml/jsruntime/qv4sequenceobject.cpp
index cfac1f9569..147163e653 100644
--- a/src/qml/jsruntime/qv4sequenceobject.cpp
+++ b/src/qml/jsruntime/qv4sequenceobject.cpp
@@ -202,6 +202,7 @@ public:
defineAccessorProperty(QStringLiteral("length"), method_get_length, method_set_length);
}
+ // ### Qt 7 use qsizetype instead.
QV4::ReturnedValue containerGetIndexed(uint index, bool *hasProperty) const
{
/* Qt containers have int (rather than uint) allowable indexes. */
@@ -229,6 +230,7 @@ public:
return Encode::undefined();
}
+ // ### Qt 7 use qsizetype instead.
bool containerPutIndexed(uint index, const QV4::Value &value)
{
if (internalClass()->engine->hasException)