aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcompileddata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlcompileddata.cpp')
-rw-r--r--src/qml/qml/qqmlcompileddata.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlcompileddata.cpp b/src/qml/qml/qqmlcompileddata.cpp
index 5344c738d8..1a9919c1be 100644
--- a/src/qml/qml/qqmlcompileddata.cpp
+++ b/src/qml/qml/qqmlcompileddata.cpp
@@ -60,14 +60,6 @@ QQmlCompiledData::QQmlCompiledData(QQmlEngine *engine)
Q_ASSERT(engine);
}
-void QQmlCompiledData::destroy()
-{
- if (engine && compilationUnit && compilationUnit->engine)
- QQmlEnginePrivate::deleteInEngineThread(engine, this);
- else
- delete this;
-}
-
QQmlCompiledData::~QQmlCompiledData()
{
}