aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrendercontrol.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-08-07 10:05:04 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-08-07 22:06:29 +0200
commit08457385be89603d7c5ce84dce9ee36e0c6a0263 (patch)
tree35bc20021eebcdc0845aa7765baab2bb019ddc25 /src/quick/items/qquickrendercontrol.cpp
parentb42c8c4de293af0b6e9c0691daa835939b54d4e1 (diff)
Rename QQuickRenderControl::stop() to invalidate()
To be consistent. Change-Id: Ia78bf4a27e8ccb1a4f0a44865e810f1070c39e5d Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
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)