aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-05-22 15:13:08 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-24 09:41:15 +0200
commitafc0d1f0454858aefb342353afb4df4b27863382 (patch)
treed61d2b6a0a725fc151556159c2aec273814a7baa /src/qml/qml/qqmlengine.cpp
parent09e624fa6b00855f5daa682fe8b9444e0e170d7f (diff)
Remove QQmlEngine::collectGarbage() overload
QQmlEngine inherits from QJSEngine, which has a collectGarbage() function that does exactly the same. Also remove doc references to non-existing function reportAdditionalMemoryCost(). Change-Id: Iff12d2cf940f3afcd88967eb9a841c2f6082ca37 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index ebf3a7c3a9..352030d246 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -947,14 +947,6 @@ void QQmlEngine::setOutputWarningsToStandardError(bool enabled)
}
/*!
- Attempt to free unused memory.
-*/
-void QQmlEngine::collectGarbage()
-{
- QV8Engine::gc();
-}
-
-/*!
Returns the QQmlContext for the \a object, or 0 if no
context has been set.