Simplify mirroring code and add tests for non-aliged 1 bit images
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Fri, 27 Feb 2015 15:31:26 +0000 (16:31 +0100)
committerLars Knoll <lars.knoll@digia.com>
Fri, 27 Feb 2015 17:48:31 +0000 (17:48 +0000)
commit3593380d9d88d0d73eae9ff87a02ae2d975333ea
treef0badcf1321784977b80e5221a2494fa7af1a93c
parent4ba8bab150ce972f35ae055ddce7e401afda6141
Simplify mirroring code and add tests for non-aliged 1 bit images

Like it is done in Qt 5. Also add the autotest which was completely
missing in Qt 4.

Change-Id: Iaf89272b4e5b7f377c4b2f1ce929661f3d0edd9a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/gui/image/qimage.cpp
tests/auto/qimage/tst_qimage.cpp