forked from qt-creator/qt-creator
QmlProfiler: Remove StartQmlRemote start mode
Change-Id: I7a4ef54a02fcc8dedb28e843a2f05d737324a877 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -120,7 +120,7 @@ bool QmlProfilerRunControl::startEngine()
|
||||
}
|
||||
}
|
||||
|
||||
if (startParameters().startMode == StartQmlRemote || startParameters().startMode == StartLocal) {
|
||||
if (startParameters().startMode == StartLocal) {
|
||||
d->m_noDebugOutputTimer.start();
|
||||
} else {
|
||||
emit processRunning(startParameters().analyzerPort);
|
||||
@@ -267,7 +267,7 @@ void QmlProfilerRunControl::processIsRunning(quint16 port)
|
||||
{
|
||||
d->m_noDebugOutputTimer.stop();
|
||||
|
||||
if (port > 0 && mode() != StartQmlRemote)
|
||||
if (port > 0 && startParameters().analyzerPort != 0)
|
||||
emit processRunning(port);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user