aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickprofiler.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-14 14:45:50 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-08-04 13:34:26 +0000
commit2c0ed9491e55bdc96bc2deb5ec3c40df6e3271f6 (patch)
tree029e73dddfb3202acbc2ce862fb68b8ff85146ae /src/quick/util/qquickprofiler.cpp
parent4e6de08ba154e541587b2939137a3da1081750be (diff)
Extract minimal abstract interfaces from debug services.
We will access the services' functionality through those interfaces once they live in their own plugins. Change-Id: I0a0d7e73c07cb874b3b507cc4a9d304588c87bca Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/quick/util/qquickprofiler.cpp')
-rw-r--r--src/quick/util/qquickprofiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/util/qquickprofiler.cpp b/src/quick/util/qquickprofiler.cpp
index 7bd32f07e8..c3cd062c60 100644
--- a/src/quick/util/qquickprofiler.cpp
+++ b/src/quick/util/qquickprofiler.cpp
@@ -127,9 +127,9 @@ qint64 QQuickProfiler::sendMessages(qint64 until, QList<QByteArray> &messages)
void QQuickProfiler::initialize()
{
Q_ASSERT(s_instance == 0);
- QQmlProfilerService *service = QQmlProfilerService::instance();
+ QQmlProfilerServiceImpl *service = QQmlProfilerServiceImpl::instance();
s_instance = new QQuickProfiler(service);
- QQmlProfilerService::instance()->addGlobalProfiler(s_instance);
+ QQmlProfilerServiceImpl::instance()->addGlobalProfiler(s_instance);
}
void animationTimerCallback(qint64 delta)