QmlProfiler: Factor out logic to run apps from the engine into a separate runner

Reviewed-by: Christiaan Janssen
This commit is contained in:
Kai Koehne
2011-05-04 16:50:24 +02:00
parent 7b41c76d92
commit 6d174080e9
7 changed files with 286 additions and 40 deletions

View File

@@ -314,8 +314,10 @@ void QmlProfilerTool::disconnectClient()
{
// this might be actually be called indirectly by QDDConnectionPrivate::readyRead(), therefore allow
// method to complete before deleting object
d->m_client->deleteLater();
d->m_client = 0;
if (d->m_client) {
d->m_client->deleteLater();
d->m_client = 0;
}
}
void QmlProfilerTool::startRecording()