diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 17:28:50 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 651d7debe1effb1288194344cd4ec82377092a5b (patch) | |
tree | 692d4736a7202f69442d1c0d83301e0c8f6c40f1 /src/gui/image/qicon.cpp | |
parent | 5cb48619e2447c573fa681feb8fe03e22efdd02e (diff) |
gui: Fix typos in source code comments
Pick-to: 5.15 6.2
Change-Id: Ie53e5542a8f93856470982939ecd8ec90b323d69
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/gui/image/qicon.cpp')
-rw-r--r-- | src/gui/image/qicon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/image/qicon.cpp b/src/gui/image/qicon.cpp index deffc7177a..6af74eba53 100644 --- a/src/gui/image/qicon.cpp +++ b/src/gui/image/qicon.cpp @@ -192,9 +192,9 @@ static QPixmapIconEngineEntry *bestSizeScaleMatch(const QSize &size, qreal scale // scale: we can only differentiate on scale if the scale differs if (pa->scale != pb->scale) { - // Score the pixmaps: 0 is an exact scale match, postive + // Score the pixmaps: 0 is an exact scale match, positive // scores have more detail than requested, negative scores - // have less detail than rquested. + // have less detail than requested. qreal ascore = pa->scale - scale; qreal bscore = pb->scale - scale; @@ -358,7 +358,7 @@ QSize QPixmapIconEngine::actualSize(const QSize &size, QIcon::Mode mode, QIcon:: { QSize actualSize; - // The returned actiual size is the size in device independent pixels, + // The returned actual size is the size in device independent pixels, // so we limit the search to scale 1 and assume that e.g. @2x versions // does not proviode extra actual sizes not also provided by the 1x versions. qreal scale = 1; |