summaryrefslogtreecommitdiffstats
path: root/tests/shared
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-08-21 14:22:34 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-09-11 23:05:35 +0200
commit294e65f8092dd5b624740ee39d52979c7ca6f387 (patch)
treeaad711d5fcf79570d018af4baa7ebe4aa366112c /tests/shared
parent8e7cb47a3463c4d0f3662d901f7718e7c6cacefe (diff)
QVariant::compare shouldn't return match when QVariant::cmp does not
If the types doesn't match in QVariant::compare we do a comparison based on QString, this may end up indicating a full match, though the we don't match according to cmp. In this case it would be better if we preserved the non-matching to avoid breaking ordering. [ChangeLog][QtCore][QVariant] Fixed ordered comparison between QVariants that do not match but produce identical toString output. Task-number: QTBUG-40363 Change-Id: I84a8eca11e8875dba9948bde2906ae7c5aa35704 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'tests/shared')
0 files changed, 0 insertions, 0 deletions