diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 17:19:14 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 13b5c269d6f4ce7936e01b11441aaa3045125d94 (patch) | |
tree | e70131111dc36564a808750ce209ee97f6b38211 /src/gui/image | |
parent | 30613163ba74642b66a90458b094d066162b7772 (diff) |
gui: Fix typos in documentation
Pick-to: 5.15 6.2
Change-Id: I533f5a55cd0cd60a76990b552d7dab51a301ac1c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/image')
-rw-r--r-- | src/gui/image/qiconloader.cpp | 2 | ||||
-rw-r--r-- | src/gui/image/qimage.cpp | 4 | ||||
-rw-r--r-- | src/gui/image/qimage_darwin.mm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/image/qiconloader.cpp b/src/gui/image/qiconloader.cpp index 807ed4921c..4b3c960cbc 100644 --- a/src/gui/image/qiconloader.cpp +++ b/src/gui/image/qiconloader.cpp @@ -135,7 +135,7 @@ void QIconLoader::ensureInitialized() created, to avoid a race condition (QTBUG-74252). When this function is called from there, ensureInitialized() does not succeed because there is no QPlatformTheme yet, so systemThemeName() is empty, and we don't want - m_systemTheme to get intialized to the fallback theme instead of the normal one. + m_systemTheme to get initialized to the fallback theme instead of the normal one. */ QIconLoader *QIconLoader::instance() { diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index a497ad60eb..50cb31832a 100644 --- a/src/gui/image/qimage.cpp +++ b/src/gui/image/qimage.cpp @@ -448,7 +448,7 @@ bool QImageData::checkForAlphaPixels() const The color of a pixel can be retrieved by passing its coordinates to the pixel() function. The pixel() function returns the color - as a QRgb value indepedent of the image's format. + as a QRgb value independent of the image's format. In case of monochrome and 8-bit images, the colorCount() and colorTable() functions provide information about the color @@ -4726,7 +4726,7 @@ static QImage rotated270(const QImage &image) image where not all pixels are covered by the transformed pixels of the original image. In such cases, those background pixels will be assigned a transparent color value, and the transformed image will be given a format - with an alpha channel, even if the orginal image did not have that. + with an alpha channel, even if the original image did not have that. The transformation \a matrix is internally adjusted to compensate for unwanted translation; i.e. the image produced is the smallest diff --git a/src/gui/image/qimage_darwin.mm b/src/gui/image/qimage_darwin.mm index e2ec52d2df..87d65d3f57 100644 --- a/src/gui/image/qimage_darwin.mm +++ b/src/gui/image/qimage_darwin.mm @@ -88,7 +88,7 @@ QT_BEGIN_NAMESPACE Other formats are not supported; this function returns a null CGImageRef for those cases. Users of this function may then - convert the QImage to a supported formate first, for example + convert the QImage to a supported format first, for example Format_ARGB32_Premultiplied. The CGImageRef color space is set to the sRGB color space. |