From 9bf555e3c8a87278249ea840cac0c4547a6cb72f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 11 Oct 2021 19:16:41 +0200 Subject: [PATCH] qcocoa: Fix typos in documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pick-to: 5.15 6.2 Change-Id: Ibf86b9b95715e20e8bf9c49a347f9c8ca0c04bb5 Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/cocoa/qcocoahelpers.mm | 2 +- src/plugins/platforms/cocoa/qcocoascreen.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoahelpers.mm b/src/plugins/platforms/cocoa/qcocoahelpers.mm index deede36ac0..2578fb2140 100644 --- a/src/plugins/platforms/cocoa/qcocoahelpers.mm +++ b/src/plugins/platforms/cocoa/qcocoahelpers.mm @@ -157,7 +157,7 @@ Qt::DropActions qt_mac_mapNSDragOperations(NSDragOperation nsActions) that the platform window is not a foreign window before using this cast, via QPlatformWindow::isForeignWindow(). - Do not use this method soley to check for foreign windows, as + Do not use this method solely to check for foreign windows, as that will make the code harder to read for people not working primarily on macOS, who do not know the difference between the NSView and QNSView cases. diff --git a/src/plugins/platforms/cocoa/qcocoascreen.mm b/src/plugins/platforms/cocoa/qcocoascreen.mm index e419492202..82fd1c44df 100644 --- a/src/plugins/platforms/cocoa/qcocoascreen.mm +++ b/src/plugins/platforms/cocoa/qcocoascreen.mm @@ -552,7 +552,7 @@ QWindow *QCocoaScreen::topLevelAt(const QPoint &point) const \internal Coordinates are in screen coordinates if \a view is 0, otherwise they are in view - coordiantes. + coordinates. */ QPixmap QCocoaScreen::grabWindow(WId view, int x, int y, int width, int height) const {