qt6-bb10/examples/widgets/painting/pathstroke
Edward Welbourne 178ab88562 PathStrokeRenderer::initializePoints(): use float division
The (example) code used a real to hold 360 / 7, which is of course 51,
discarding the 3/7 that was most likely meant to be kept.  Noticed by
Coverity (CID 22364).  Use 360.0 instead of 360 to get more accurate
results.

Change-Id: Ifdfbb932589d8ea728710e8b656af651c9f8a7d2
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2016-07-15 11:35:12 +00:00
..
main.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
pathstroke.cpp PathStrokeRenderer::initializePoints(): use float division 2016-07-15 11:35:12 +00:00
pathstroke.h Update copyright headers 2015-02-11 06:49:51 +00:00
pathstroke.html Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
pathstroke.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
pathstroke.qrc Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00