aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrendercontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickrendercontrol.cpp')
-rw-r--r--src/quick/items/qquickrendercontrol.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquickrendercontrol.cpp b/src/quick/items/qquickrendercontrol.cpp
index 005ee72037..f3e51649c6 100644
--- a/src/quick/items/qquickrendercontrol.cpp
+++ b/src/quick/items/qquickrendercontrol.cpp
@@ -157,13 +157,13 @@ QQuickRenderControl::QQuickRenderControl(QObject *parent)
/*!
Destroys the instance. Releases all scenegraph resources.
- \sa stop()
+ \sa invalidate()
*/
QQuickRenderControl::~QQuickRenderControl()
{
Q_D(QQuickRenderControl);
- stop();
+ invalidate();
if (d->window)
QQuickWindowPrivate::get(d->window)->renderControl = 0;
@@ -257,7 +257,7 @@ bool QQuickRenderControl::sync()
initialize(), to be the current one at the time of destroying the
QQuickRenderControl instance.
- Once stop() has been called, it is possible to reuse the
+ Once invalidate() has been called, it is possible to reuse the
QQuickRenderControl instance by calling initialize() again.
\note This function does not take
@@ -265,7 +265,7 @@ bool QQuickRenderControl::sync()
QQuickWindow::persistentOpenGLContext() into account. This means
that context-specific resources are always released.
*/
-void QQuickRenderControl::stop()
+void QQuickRenderControl::invalidate()
{
Q_D(QQuickRenderControl);
if (!d->initialized)