forked from qt-creator/qt-creator
		
	QmlProfiler: finalize setup when starting
Change-Id: If7cf8158bf4c0cd6a2ffff2d5157a98f2d8c0f50 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
		| @@ -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()) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user