QmlProfiler: finalize setup when starting

Change-Id: If7cf8158bf4c0cd6a2ffff2d5157a98f2d8c0f50
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2016-01-20 18:45:02 +01:00
parent b85c0204a0
commit 434b51dca6
4 changed files with 1 additions and 8 deletions

View File

@@ -106,6 +106,7 @@ QmlProfilerRunControl::~QmlProfilerRunControl()
bool QmlProfilerRunControl::startEngine()
{
d->m_tool->finalizeRunControl(this);
QTC_ASSERT(d->m_profilerState, return false);
if (connection().analyzerPort != 0)
@@ -252,11 +253,6 @@ void QmlProfilerRunControl::registerProfilerStateManager( QmlProfilerStateManage
this, &QmlProfilerRunControl::profilerStateChanged);
}
void QmlProfilerRunControl::finalizeSetup()
{
d->m_tool->finalizeRunControl(this);
}
void QmlProfilerRunControl::profilerStateChanged()
{
switch (d->m_profilerState->currentState()) {