summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4persistent.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-10-27 09:54:43 +0200
committerLiang Qi <liang.qi@qt.io>2016-10-27 09:56:20 +0200
commit6b58ce5251045fb751eb511b2cb3571bcd113f28 (patch)
tree7d3b63836c7ec0cce618ce4180c9f5ed63900a6a /src/qml/jsruntime/qv4persistent.cpp
parent93d7c26653757755ae65f14d06d6df6f9ec2fc07 (diff)
parentc849f3a7eff55d60c4010831ec67336c5c0f2a27 (diff)
downloadqtdeclarative-6b58ce5251045fb751eb511b2cb3571bcd113f28.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts: src/quick/items/qquickwindow.cpp tests/auto/quick/qquicktext/BLACKLIST tests/auto/quick/qquicktextedit/BLACKLIST Change-Id: I8bd68b0b5e853b7908791d2cbddd18dd527c76ae
Diffstat (limited to 'src/qml/jsruntime/qv4persistent.cpp')
-rw-r--r--src/qml/jsruntime/qv4persistent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4persistent.cpp b/src/qml/jsruntime/qv4persistent.cpp
index 7ca0692804..a892194df3 100644
--- a/src/qml/jsruntime/qv4persistent.cpp
+++ b/src/qml/jsruntime/qv4persistent.cpp
@@ -139,7 +139,7 @@ PersistentValueStorage::Iterator &PersistentValueStorage::Iterator::operator++()
while (p) {
while (index < kEntriesPerPage - 1) {
++index;
- if (static_cast<Page *>(p)->values[index].tag() != QV4::Value::Empty_Type)
+ if (!static_cast<Page *>(p)->values[index].isEmpty())
return *this;
}
index = -1;