diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-10-04 11:30:05 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-10-04 13:45:04 +0300 |
commit | 2c99a8db69e40620d91d7415b02a8e222f2a2c59 (patch) | |
tree | 8ac791c57141b72b9ade65082ea48491920b9243 /src/qml/jsruntime/qv4sequenceobject.cpp | |
parent | 2405d0fa5d72942dcc429a8061a53ece4d213364 (diff) |
Add comments to use qsizetype for some APIs in Qt 7
Task-number: QTBUG-91163
Change-Id: Iee52fce16d899a2a72277e314d7dc65b27da3b88
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4sequenceobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4sequenceobject.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |