diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-11-12 09:50:29 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-15 13:07:52 +0100 |
commit | 0dc17ae4d8b01582d9a9d2fa89f0d72cd022f5cf (patch) | |
tree | c427b62e6f20f17b71f1f0de0d59cd5fc8b6d5ae /dist | |
parent | d7a876d0025290e506622af85403fa3c5fed795b (diff) |
Fix === operator for value types
Fix === comparison for urls and other QML value types.
Task-number: QTBUG-33546
Change-Id: I4a7066e6bbc7de7c599fe2c7b2fdfb75e0ff5196
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.2.0 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/changes-5.2.0 b/dist/changes-5.2.0 index da358191e1..8b044d6932 100644 --- a/dist/changes-5.2.0 +++ b/dist/changes-5.2.0 @@ -46,6 +46,13 @@ Third party components the engine now truncates instead of rounding. This is consistent with the ECMAScript specification's way of converting doubles to ints. + - Comparing value based types with the JS strictly equal operator will + now behave similar to the corresponding C++ == operator. Ie. two + QPoints exposed on the JS side will be strictly equal if their values + are equal. This brings the behavior of value based types in JS closer + to what one would expect and more inline with primitive values in + Javascript. + **************************************************************************** * Library * **************************************************************************** |