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/platform | |
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/platform')
-rw-r--r-- | src/gui/platform/darwin/qmacmime.mm | 2 | ||||
-rw-r--r-- | src/gui/platform/unix/qxkbcommon.cpp | 2 | ||||
-rw-r--r-- | src/gui/platform/unix/qxkbcommon_p.h | 2 | ||||
-rw-r--r-- | src/gui/platform/wasm/qwasmlocalfileaccess.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/platform/darwin/qmacmime.mm b/src/gui/platform/darwin/qmacmime.mm index a248f8fb15..3b3b888f0f 100644 --- a/src/gui/platform/darwin/qmacmime.mm +++ b/src/gui/platform/darwin/qmacmime.mm @@ -168,7 +168,7 @@ QMacInternalPasteboardMime::QMacInternalPasteboardMime(char t) : type(t) /* Destroys a conversion object, removing it from the global - list of available convertors. + list of available converters. */ QMacInternalPasteboardMime::~QMacInternalPasteboardMime() { diff --git a/src/gui/platform/unix/qxkbcommon.cpp b/src/gui/platform/unix/qxkbcommon.cpp index e4d93ceb55..b1ec320b87 100644 --- a/src/gui/platform/unix/qxkbcommon.cpp +++ b/src/gui/platform/unix/qxkbcommon.cpp @@ -749,7 +749,7 @@ void QXkbCommon::verifyHasLatinLayout(xkb_keymap *keymap) // This means that lookupLatinKeysym() will not find anything and latin // key shortcuts might not work. This is a bug in the affected desktop // environment. Usually can be solved via system settings by adding e.g. 'us' - // layout to the list of seleced layouts, or by using command line, "setxkbmap + // layout to the list of selected layouts, or by using command line, "setxkbmap // -layout rus,en". The position of latin key based layout in the list of the // selected layouts is irrelevant. Properly functioning desktop environments // handle this behind the scenes, even if no latin key based layout has been diff --git a/src/gui/platform/unix/qxkbcommon_p.h b/src/gui/platform/unix/qxkbcommon_p.h index 197268dbc1..7575b2627d 100644 --- a/src/gui/platform/unix/qxkbcommon_p.h +++ b/src/gui/platform/unix/qxkbcommon_p.h @@ -82,7 +82,7 @@ public: bool superAsMeta = false, bool hyperAsMeta = false); // xkbcommon_* API is part of libxkbcommon internals, with modifications as - // desribed in the header of the implementation file. + // described in the header of the implementation file. static void xkbcommon_XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper); static xkb_keysym_t qxkbcommon_xkb_keysym_to_upper(xkb_keysym_t ks); diff --git a/src/gui/platform/wasm/qwasmlocalfileaccess.cpp b/src/gui/platform/wasm/qwasmlocalfileaccess.cpp index 85c894a74a..a5460f0ba7 100644 --- a/src/gui/platform/wasm/qwasmlocalfileaccess.cpp +++ b/src/gui/platform/wasm/qwasmlocalfileaccess.cpp @@ -166,7 +166,7 @@ void openFile(const std::string &accept, void saveFile(const char *content, size_t size, const std::string &fileNameHint) { - // Save a file by creating programatically clicking a download + // Save a file by creating programmatically clicking a download // link to an object url to a Blob containing the file content. // File content is copied once, so that the passed in content // buffer can be released as soon as this function returns - we |