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>
This commit is contained in:
Michal Klocek 2020-05-20 11:55:07 +02:00
parent 0ffef9cb8d
commit 71d63049f7

View File

@ -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.