diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2017-01-12 15:01:33 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2017-01-16 17:10:07 +0000 |
commit | 930385acd8d30a6e0d818806ab893fdce975385f (patch) | |
tree | c7a9d4bcee6b658c25fcd49e0baf35eaf0759f47 /examples/quick/demos/samegame/content/+blackberry | |
parent | b54690c690b4e457c8c225db1822aa97ae48f021 (diff) |
QQuickGridLayout: Remove dead code in layout
The attached isRowSet and isColumnSet check for values >= 0, and
row/column getters also enforce a minimum return value of 0, so it is
impossible for us to get a negative value for row/column if either of these is
set -- and we can simply call the getter and rely on it to return 0 in
the unset case.
Change-Id: Iec80e7d7cf3738cf0a81e90b027ffe41e0f57369
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'examples/quick/demos/samegame/content/+blackberry')
0 files changed, 0 insertions, 0 deletions