Avoid non-deterministic ordering of glyph nodes.
authoraavit <qt_aavit@ovi.com>
Wed, 30 May 2012 09:13:55 +0000 (11:13 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 30 May 2012 13:10:56 +0000 (15:10 +0200)
commita8c137f0e6eabb768f156134b06e022d44993ce2
treeff9caea426a7e2d5f0edccb8a6950565fca9f8ce
parent3beebd602b2d6074a745d797de64f04a13093456
Avoid non-deterministic ordering of glyph nodes.

The ordering of glyph nodes depended on the internal ordering
of a QHash, where the key contains the value of a heap pointer,
so it could change with each run (even if QT_HASH_SEED was set).
This made effective regression testing impossible.

Change-Id: I1e5cff7db6d0db9ebbfb1e5b2e3d6e56170752b7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/quick/items/qquicktextnode.cpp