diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-05-12 05:23:37 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-18 18:37:29 +0200 |
commit | c0d1afa7715b05c590a9103c67a56e1b7cb6accd (patch) | |
tree | 4dc9acacd03fbdc1474062d58cbf43348aaddf78 /src/quick/items/qquickwindow.cpp | |
parent | 380d5c18b316b1ca063863c06a34ba1fde471ca4 (diff) |
Doc: Update description to be more precise
Avoid possible misunderstanding where true actually mean
"can not".
Fixes: QTBUG-35922
Change-Id: I27a119bc236db2c575d5356ce7a457e7ebce7967
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 525fe67ac2eefd37c1758a64fc519e9886475983)
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow.cpp')
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 48ba0ecc28..2bdc56e6da 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -1528,8 +1528,9 @@ bool QQuickWindow::isPersistentOpenGLContext() const /*! - Sets whether the scene graph nodes and resources can be released - to \a persistent. The default value is true. + Sets whether the scene graph nodes and resources are \a persistent. + Persistent means the nodes and resources cannot be released. + The default value is \c true. The scene graph nodes and resources can be released to free up graphics resources when the window is obscured, hidden or not |