diff options
Diffstat (limited to 'tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp')
-rw-r--r-- | tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp | 2 |
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 3337e6d3fd..085eb7b87a 100644 --- a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp +++ b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp @@ -468,7 +468,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}); } |