forked from qt-creator/qt-creator
		
	QmlProfiler: Fix logic when timeout-connecting to QML port
The timeout signal doesn't contain the QML port but we might know it if we've explicitly set it. The previous logic makes no sense at all. Change-Id: I820255e492e919ee916a5f859d7809a6c5233399 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
		@@ -258,7 +258,9 @@ void QmlProfilerRunControl::processIsRunning(quint16 port)
 | 
			
		||||
{
 | 
			
		||||
    d->m_noDebugOutputTimer.stop();
 | 
			
		||||
 | 
			
		||||
    if (port > 0 && startParameters().analyzerPort != 0)
 | 
			
		||||
    if (port == 0)
 | 
			
		||||
        port = startParameters().analyzerPort;
 | 
			
		||||
    if (port != 0)
 | 
			
		||||
        emit processRunning(port);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user