From 71d63049f718d221e4fc8134c71f050da88c2584 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Wed, 20 May 2020 11:55:07 +0200 Subject: 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 --- src/gui/kernel/qplatformwindow.cpp | 4 ++-- 1 file 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. -- cgit v1.2.3