[Development] Qt 5.6.0 header diff: QtGui.diff

Allan Sandfeld Jensen kde at carewolf.com
Thu Sep 17 14:25:25 CEST 2015


On Thursday 17 September 2015, Frederik Gladhorn wrote:
> 

What is with all the Q_NULLPTR? I thought we decided not to do those. Not that 
want them removed, that would be even more noise.

--- a/src/gui/painting/qpaintdevice.h
+++ b/src/gui/painting/qpaintdevice.h
static inline qreal devicePixelRatioFScale() {return 10000000.0; }

That is an odd scale as fraction. I would prefer something that can be 
represented accurately as a fraction 2^20 for instance, otherwise we get 
rounding issues.

Regards
`Allan





More information about the Development mailing list