diff options
author | Tang Haixiang <tanghaixiang@uniontech.com> | 2021-10-29 11:40:46 +0800 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-11-03 01:10:32 +0000 |
commit | f5eda09a639715036d48a60078e6a379ec151f94 (patch) | |
tree | 7dc4cff609ca5ec851c5293a365771674961edc3 /src/corelib/kernel/qcoreapplication.cpp | |
parent | ace53d282d610dc2a4e96fbe1b84f5b39e93dc77 (diff) |
Modify the target Square in the puzzle
targetSquare judges which square the position falls in. The point
scaling calculation method should not be used. The return value of
QPoint operator/ will be rounded up. Modified to separate the x and
y of position to calculate.
Fixes: QTBUG-81842
Change-Id: I70375185a78ba47efe01be3fd490e0fb0f456e17
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
0 files changed, 0 insertions, 0 deletions