DebuggerEngine: fixed race condition at qml engine startup

Reviewed by: hjk
This commit is contained in:
Christiaan Janssen
2010-10-08 15:51:15 +02:00
parent 63f2b87eac
commit 3938cd671b
2 changed files with 7 additions and 3 deletions

View File

@@ -449,7 +449,7 @@ void QmlCppEngine::finishDebugger()
void QmlCppEngine::setupSlaveEngineOnTimer()
{
QTimer::singleShot(ConnectionWaitTimeMs, this, SLOT(setupSlaveEngine()));
QTimer::singleShot(0, this, SLOT(setupSlaveEngine()));
}
void QmlCppEngine::setupSlaveEngine()