QmlProfilerEngine: Emission of processRunning() signal

Let respective device plugins decide when process is running
to allow setting of the correct ports for profiling.

Change-Id: I3a691429d50a48f68b08aaea09bdad55f864e4f8
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
Aurindam Jana
2013-07-22 16:07:05 +02:00
parent 2a1ca98958
commit ef251dc032

View File

@@ -275,7 +275,7 @@ void QmlProfilerEngine::processIsRunning(quint16 port)
{
d->m_noDebugOutputTimer.stop();
if (port > 0)
if (port > 0 && mode() != StartQmlRemote)
emit processRunning(port);
}