diff options
Diffstat (limited to 'tests/auto/gui/painting/qcolorspace/tst_qcolorspace.cpp')
-rw-r--r-- | tests/auto/gui/painting/qcolorspace/tst_qcolorspace.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/gui/painting/qcolorspace/tst_qcolorspace.cpp b/tests/auto/gui/painting/qcolorspace/tst_qcolorspace.cpp index 99fb3d3e72..3564700fe5 100644 --- a/tests/auto/gui/painting/qcolorspace/tst_qcolorspace.cpp +++ b/tests/auto/gui/painting/qcolorspace/tst_qcolorspace.cpp @@ -304,10 +304,10 @@ void tst_QColorSpace::loadImage() QVERIFY(defaultProPhotoRgb.iccProfile() != image.colorSpace().iccProfile()); QColorTransform transform = image.colorSpace().transformationToColorSpace(QColorSpace::SRgb); - qreal maxRed = 0; - qreal maxBlue = 0; - qreal maxRed2 = 0; - qreal maxBlue2 = 0; + float maxRed = 0; + float maxBlue = 0; + float maxRed2 = 0; + float maxBlue2 = 0; for (int y = 0; y < image.height(); ++y) { for (int x = 0; x < image.width(); ++x) { QColor p = image.pixelColor(x, y); |