From 08457385be89603d7c5ce84dce9ee36e0c6a0263 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 7 Aug 2014 10:05:04 +0200 Subject: Rename QQuickRenderControl::stop() to invalidate() To be consistent. Change-Id: Ia78bf4a27e8ccb1a4f0a44865e810f1070c39e5d Reviewed-by: Gunnar Sletta --- src/quick/items/qquickrendercontrol.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/quick/items/qquickrendercontrol.cpp') 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) -- cgit v1.2.3