summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-05-20 11:55:07 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-05-25 14:46:35 +0200
commit71d63049f718d221e4fc8134c71f050da88c2584 (patch)
treef736e9647aa0c65ad36875323bf0e7fbb54eae38 /src/gui/kernel/qplatformwindow.cpp
parent0ffef9cb8da7682b42f595c683d7ef9cb22dabd7 (diff)
Fix typo in documentation of QPlatformWindow
QOpenGLWidget has backing store and does not really fit into doc's context. Change it QOpenGLWindow. Change-Id: I7f92e49497b8cc35d322b607c865c2914672ace3 Pick-to: 5.15 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.cpp')
-rw-r--r--src/gui/kernel/qplatformwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp
index 15d7505133..fc736033c2 100644
--- a/src/gui/kernel/qplatformwindow.cpp
+++ b/src/gui/kernel/qplatformwindow.cpp
@@ -882,8 +882,8 @@ QRectF QPlatformWindow::windowClosestAcceptableGeometry(const QRectF &nativeRect
However, it is not concerned with how Qt renders into the window it represents.
Visible QWindows will always have a QPlatformWindow. However, it is not necessary for
- all windows to have a QBackingStore. This is the case for QOpenGLWidget. And could be the case for
- windows where some 3.party renders into it.
+ all windows to have a QBackingStore. This is the case for QOpenGLWindow. And could be the case for
+ windows where some third party renders into it.
The platform specific window handle can be retrieved by the winId function.