Skip to content
Commit e5aeb674 authored by David Redondo's avatar David Redondo 🏎
Browse files

Floor coordinates to check if a point is inside a region

More correct since QRegion models half open intervals (like QRect) and toPoint
rounds the coordinates. Fixes an issue where one could escape a pointer
confinement by just moving the mouse.
parent 6bf53c87
Pipeline #220097 passed with stage
in 14 minutes and 38 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment