summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorYAMAMOTO Atsushi <atsushi.yamamoto@signal-slot.co.jp>2022-12-27 15:33:06 +0900
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-01-05 11:52:20 +0000
commitd05e75ade4473ad0448f434fea5fc5745bac821b (patch)
treeae52d27b9efdd5b5661ab640dcbcdd6ea7145f40 /src/plugins/platforms
parentf05aee76288f2cbf021b80ee1b1961bd183cbfbe (diff)
Tweak comment about QCocoaWindow
Remove duplicate 'for', and unify the article of NSWindow to "an". Change-Id: Iccf762ac54e90816f61634404fb88c9fdd1a43e1 Reviewed-by: Kai Köhne <kai.koehne@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/cocoa/qcocoawindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h
index 750e3a0648..0b0e6536c0 100644
--- a/src/plugins/platforms/cocoa/qcocoawindow.h
+++ b/src/plugins/platforms/cocoa/qcocoawindow.h
@@ -39,9 +39,9 @@ class QDebug;
// QCocoaWindow
//
// QCocoaWindow is an NSView (not an NSWindow!) in the sense
-// that it relies on a NSView for all event handling and
-// graphics output and does not require a NSWindow, except for
-// for the window-related functions like setWindowTitle.
+// that it relies on an NSView for all event handling and
+// graphics output and does not require an NSWindow, except for
+// the window-related functions like setWindowTitle.
//
// As a consequence of this it is possible to embed the QCocoaWindow
// in an NSView hierarchy by getting a pointer to the "backing"