aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-07-12 14:07:49 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-07-13 13:43:33 +0000
commita25f0ed5d2605e981cdb774fb1734f168910f3a7 (patch)
tree1e4da1d86bbc0653cdb1dba8051339a7b06f72f3 /tests/auto/quick/qquickwindow/tst_qquickwindow.cpp
parent36d4501a08b1c8708136d3636236a1c6256fbcea (diff)
Minor cleanup in location handling
Store the line and column in CompiledData::Location as unsigned values. The qmlSourceCoordinate() function(s) already now act as normalizers, mapping values <= 0 to 0 as indicator for a missing/invalid line/column. Valid values start at 1 and therefore there is no need to store negative values in the location structure. Coincidentally this also fixes a bunch of warnings about conversions from signed to unsigned. Change-Id: Ic69ff395d4991989aede695f2e8c58903f1bd2bf Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickwindow/tst_qquickwindow.cpp')
0 files changed, 0 insertions, 0 deletions