aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-11 17:35:28 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-17 18:42:31 +0000
commit03de2a45f644b084471c56999db78e1fa98c3a04 (patch)
tree3af72302483fdb4d2c23ebc4793daa1531a1b688 /src/qmldebug
parent811891009170395e23821e781fd2c0d8fb98be1c (diff)
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 <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qmldebug')
-rw-r--r--src/qmldebug/qqmlprofilerclient.cpp3
1 files changed, 2 insertions, 1 deletions
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 <private/qqmldebugserviceinterfaces_p.h>
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<quint64>::max())
{
}