aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindow.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-05-12 05:23:37 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-18 18:37:29 +0200
commitc0d1afa7715b05c590a9103c67a56e1b7cb6accd (patch)
tree4dc9acacd03fbdc1474062d58cbf43348aaddf78 /src/quick/items/qquickwindow.cpp
parent380d5c18b316b1ca063863c06a34ba1fde471ca4 (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.cpp5
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