From b82296f825daf0ba110fea4aa1b61f96d63f371b Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 14 Dec 2017 20:06:57 +0100 Subject: Use better QmlProfiler client from Qt Creator This client can track locations itself, and thus doesn't require the server to send the event types over and over with each message. Once all our client implementations have this feature we can drop a lot of code. Furthermore, this way we can write regression tests for bugs that only occur when client side location tracking is active. Change-Id: I3735392452e20a7be98e92b900fadef04701d85f Reviewed-by: Simon Hausmann --- tools/qmlprofiler/qmlprofilerapplication.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/qmlprofiler/qmlprofilerapplication.h') diff --git a/tools/qmlprofiler/qmlprofilerapplication.h b/tools/qmlprofiler/qmlprofilerapplication.h index 13f0f041f0..f7a8efd61b 100644 --- a/tools/qmlprofiler/qmlprofilerapplication.h +++ b/tools/qmlprofiler/qmlprofilerapplication.h @@ -105,9 +105,9 @@ private: bool m_recording; bool m_interactive; - QQmlDebugConnection m_connection; - QmlProfilerClient m_qmlProfilerClient; - QmlProfilerData m_profilerData; + QScopedPointer m_connection; + QScopedPointer m_qmlProfilerClient; + QScopedPointer m_profilerData; QTimer m_connectTimer; uint m_connectionAttempts; }; -- cgit v1.2.3