summaryrefslogtreecommitdiffstats
path: root/examples/opengl/hellowindow/hellowindow.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <[email protected]>2017-06-21 10:05:07 +0200
committerAllan Sandfeld Jensen <[email protected]>2017-06-26 21:35:38 +0000
commit88e56d0932a3615231adf40d5ae033e742d72c33 (patch)
treea1bab6dd40863842d6f465e5e4a4a31b5ffa62f3 /examples/opengl/hellowindow/hellowindow.cpp
parent67ee72f3145fd14b36af408918ed3420504d3035 (diff)
Improve rounding of QRect::toRect
Avoid the dimensions of the rounded QRect being off by more than one pixel. This ensures the aligned containing rect also contains the rounded rect. Task-number: QTBUG-56420 Change-Id: Ib79110e51ab80de2dc83d01ea83fc5fbf3852e75 Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.cpp')
0 files changed, 0 insertions, 0 deletions