Make QImage::mirrored() propagate devicePixelRatio
Change-Id: I2dfeacc941cb411a7ec6752f745fed9d6345ed8a Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
parent
2119c8f291
commit
db25efe78b
@ -4213,6 +4213,7 @@ QImage QImage::mirrored(bool horizontal, bool vertical) const
|
||||
|
||||
result.d->colortable = d->colortable;
|
||||
result.d->has_alpha_clut = d->has_alpha_clut;
|
||||
result.d->devicePixelRatio = d->devicePixelRatio;
|
||||
|
||||
if (depth() == 1)
|
||||
w = (w+7)/8;
|
||||
|
Loading…
Reference in New Issue
Block a user