From 136407e3eb88b5480cf5a37e9234e698ef6cff2d Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 23 Mar 2022 10:24:51 +0000 Subject: Revert "QImage::operator==: Also compare the image colorspace" This reverts commit 019d0dd4b49d5a0e9cbb73829158e798ea25fd86. Reason for revert: Causes test failures, and better for just 6.4 Pick-to: 6.3 Change-Id: Iaf1dc18d6f347fd203b07253ad502b6060486157 Reviewed-by: Albert Astals Cid --- src/gui/image/qimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index 87c8f8dde1..a4743bff4d 100644 --- a/src/gui/image/qimage.cpp +++ b/src/gui/image/qimage.cpp @@ -3961,7 +3961,7 @@ bool QImage::operator==(const QImage & i) const return false; // obviously different stuff? - if (i.d->height != d->height || i.d->width != d->width || i.d->format != d->format || i.d->colorSpace != d->colorSpace) + if (i.d->height != d->height || i.d->width != d->width || i.d->format != d->format) return false; if (d->format != Format_RGB32) { -- cgit v1.2.3