summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qrect.cpp
diff options
context:
space:
mode:
authorEren Bursali <eren.bursali@qt.io>2025-10-08 14:07:10 +0200
committerEren Bursali <eren.bursali@qt.io>2025-10-09 18:04:42 +0200
commit59ea7d73c8818b4c094d6dc9a4dcedaaa74bd530 (patch)
tree2c879ef704f9f5817ac5a6ac8db2ab0ff518df6e /src/corelib/tools/qrect.cpp
parent0cee9ee3cf8a3310570708b2b421d94083969f72 (diff)
(QRect) Diagram not readable in black mode fix
Fixing image "qrect-unite.png" being unreadable in black mode in "https://doc.qt.io/qt-6/qrect.html#details" by adding a white background to the image Fixes: QTBUG-140872 Pick-to: 6.10 Change-Id: I629a5a454a59f2a70abcdf77d7d404f6ff4efe39 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Diffstat (limited to 'src/corelib/tools/qrect.cpp')
-rw-r--r--src/corelib/tools/qrect.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/tools/qrect.cpp b/src/corelib/tools/qrect.cpp
index 017d55261ab..acd3f8cbd13 100644
--- a/src/corelib/tools/qrect.cpp
+++ b/src/corelib/tools/qrect.cpp
@@ -71,7 +71,7 @@ QT_BEGIN_NAMESPACE
highlighted. It's also showing how the width and
height of the highlighted area is determined with
r.intersect(s).width() and r.intersect(s).height().}
- \li \inlineimage qrect-unite.png {Diagram showing two overlapped
+ \li \inlineimage qrect-unite.webp {Diagram showing two overlapped
rectangles r and s and their united size which is
determined with r.united(s).width() and
r.united(s).height().}
@@ -987,7 +987,7 @@ QRect QRect::operator|(const QRect &r) const noexcept
Returns the bounding rectangle of this rectangle and the given \a rectangle.
- \image qrect-unite.png {Diagram showing two overlapped rectangles r and s
+ \image qrect-unite.webp {Diagram showing two overlapped rectangles r and s
and their united size which is determined with r.united(s).width and
r.united(s).height().}
@@ -1353,7 +1353,7 @@ QDebug operator<<(QDebug dbg, const QRect &r)
highlighted. It's also showing how the width and
height of the highlighted area is determined with
r.intersect(s).width and r.intersect(s).height().}
- \li \inlineimage qrect-unite.png {Diagram showing two overlapped
+ \li \inlineimage qrect-unite.webp {Diagram showing two overlapped
rectangles r and s and their united size which is
determined with r.united(s).width and
r.united(s).height()}
@@ -2197,7 +2197,7 @@ QRectF QRectF::operator|(const QRectF &r) const noexcept
Returns the bounding rectangle of this rectangle and the given \a
rectangle.
- \image qrect-unite.png {Diagram showing two overlapped rectangles
+ \image qrect-unite.webp {Diagram showing two overlapped rectangles
r and s and their united size which is determined with
r.united(s).width and r.united(s).height()}