aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickcanvas/tst_qquickcanvas.cpp
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2012-02-08 15:45:18 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-15 07:26:36 +0100
commit3c3b9956c6ba18c424027ec77dfcddbe7bac60b9 (patch)
tree50ede7228f1b93abea0ef1467b5b74a1cffd5d21 /tests/auto/qtquick2/qquickcanvas/tst_qquickcanvas.cpp
parent03883c22264df65586db0a603569c9d196e06034 (diff)
Fix warnings in sequence wrapper code
Previously, the sequence wrapper had unsigned int / signed int comparisons (due to Qt container classes only allowing signed int indexes (where negative indexes are invalid). This commit ensures that unsigned indexes are bounds checked appropriately, and also fixes a warning due to QString construction from QByteArray. Finally, it updates the documentation for sequences to clarify the indexing semantics. Change-Id: I4c6e133bef6e980a9ccb62ff15a70a5d41537ee3 Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qquickcanvas/tst_qquickcanvas.cpp')
0 files changed, 0 insertions, 0 deletions