diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2020-07-30 13:21:37 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2020-08-05 05:13:30 +0000 |
commit | f4093d02ff387956de4cd2662cc2d4e0e6d3fda4 (patch) | |
tree | b2583dad5f7b45f11ebd110c0592798510e2f932 /src/gui/painting | |
parent | ed991b7d15c097bb5e9f20f6d9875b4f82df1d12 (diff) |
Fix "rectange" typos in qtbase
Pick-to: 5.15
Change-Id: If064fae5eaaeb2e53e3dd05cb9dc1cdf49ad1f04
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qcssutil.cpp | 2 | ||||
-rw-r--r-- | src/gui/painting/qregion.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qcssutil.cpp b/src/gui/painting/qcssutil.cpp index 2d514e14e0..42e14b3d84 100644 --- a/src/gui/painting/qcssutil.cpp +++ b/src/gui/painting/qcssutil.cpp @@ -328,7 +328,7 @@ void qNormalizeRadii(const QRect &br, const QSize *radii, *trr = *brr = QSize(0, 0); } -// Determines if Edge e1 draws over Edge e2. Depending on this trapezoids or rectanges are drawn +// Determines if Edge e1 draws over Edge e2. Depending on this trapezoids or rectangles are drawn static bool paintsOver(const QCss::BorderStyle *styles, const QBrush *colors, QCss::Edge e1, QCss::Edge e2) { QCss::BorderStyle s1 = styles[e1]; diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index 5685d34ea7..d18629026a 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -134,7 +134,7 @@ QT_BEGIN_NAMESPACE \fn QRegion::QRegion(const QRect &r, RegionType t) \overload - Create a region based on the rectange \a r with region type \a t. + Create a region based on the rectangle \a r with region type \a t. If the rectangle is invalid a null region will be created. |