From 03de2a45f644b084471c56999db78e1fa98c3a04 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 11 Nov 2015 17:35:28 +0100 Subject: QmlDebug: Make profiler client use the right service key This is the upside of having the keys exported after all. Change-Id: I265f481668e72d3c3bde1400b7f1e2b61eea82af Reviewed-by: Simon Hausmann --- src/qmldebug/qqmlprofilerclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qmldebug') diff --git a/src/qmldebug/qqmlprofilerclient.cpp b/src/qmldebug/qqmlprofilerclient.cpp index f38884c309..c7ad6dae53 100644 --- a/src/qmldebug/qqmlprofilerclient.cpp +++ b/src/qmldebug/qqmlprofilerclient.cpp @@ -33,6 +33,7 @@ #include "qqmlprofilerclient_p_p.h" #include "qqmldebugconnection_p.h" +#include QT_BEGIN_NAMESPACE @@ -47,7 +48,7 @@ QQmlProfilerClient::QQmlProfilerClient(QQmlProfilerClientPrivate &dd) : } QQmlProfilerClientPrivate::QQmlProfilerClientPrivate(QQmlDebugConnection *connection) : - QQmlDebugClientPrivate(QStringLiteral("CanvasFrameRate"), connection), + QQmlDebugClientPrivate(QQmlProfilerService::s_key, connection), features(std::numeric_limits::max()) { } -- cgit v1.2.3