aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-07-20 15:38:08 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-07-28 11:03:22 +0000
commitc685165038e10464da877896d1accb7b75d9086e (patch)
treef1a59a5cb07e38df5d483b43a27e81f6a164e16f /src/qml/qml/qqmlengine.cpp
parentbd48f0e5edb1d5ce10529360fb9d14e7b7135022 (diff)
Qml: Create profiler adapters in the plugins
This way QtQml doesn't need to know the ctors. Change-Id: Ie74049092b5eb9837537591c0cf37ad1487e4066 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index c2eef840ed..6e77bc551c 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -648,11 +648,6 @@ QQmlEnginePrivate::~QQmlEnginePrivate()
delete profiler;
}
-void QQmlEnginePrivate::enableProfiler()
-{
- profiler = new QQmlProfiler();
-}
-
void QQmlPrivate::qdeclarativeelement_destructor(QObject *o)
{
QObjectPrivate *p = QObjectPrivate::get(o);