Let QImage::mirrored() retain dots-per-meter settings

Task-number: QTBUG-40582
Change-Id: Iffeba44fa6d1f34331bb69ff9aabce88efe279a7
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
bb10
aavit 2014-08-12 10:25:16 +02:00
parent 4848796f3e
commit 509d6770d9
1 changed files with 2 additions and 0 deletions

View File

@ -2836,6 +2836,8 @@ QImage QImage::mirrored_helper(bool horizontal, bool vertical) const
result.d->colortable = d->colortable;
result.d->has_alpha_clut = d->has_alpha_clut;
result.d->devicePixelRatio = d->devicePixelRatio;
result.d->dpmx = d->dpmx;
result.d->dpmy = d->dpmy;
do_mirror(result.d, d, horizontal, vertical);