aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger/qqmlprofilerservice
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@qt.io>2018-12-03 14:22:38 +0200
committerVille Voutilainen <ville.voutilainen@qt.io>2018-12-03 13:56:02 +0000
commitb55b3692f6cc57f8a7ef972388504b5133331ceb (patch)
tree25ea57e77ab074eb2951786253df8e131e835e8b /tests/auto/qml/debugger/qqmlprofilerservice
parent3a025d75fd470dfcda5ae67e5b8ece0b00cdc8c9 (diff)
Fix compilation with gcc 4.8
GCC 4.8 doesn't like using QPointers in signal connections. Change-Id: Ide55318374183e52eaf09176a118f7d22b7cfd6e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger/qqmlprofilerservice')
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp
index 1783ded9d6..e0bd5413fe 100644
--- a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp
+++ b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp
@@ -467,7 +467,7 @@ QList<QQmlDebugClient *> tst_QQmlProfilerService::createClients()
m_client.reset(new QQmlProfilerTestClient(m_connection));
m_client->client->setRecording(m_recordFromStart);
m_client->client->setFlushInterval(m_flushInterval);
- QObject::connect(m_client->client, &QQmlProfilerClient::complete,
+ QObject::connect(m_client->client.data(), &QQmlProfilerClient::complete,
this, [this](){ m_isComplete = true; });
return QList<QQmlDebugClient *>({m_client->client});
}