forked from qt-creator/qt-creator
QmlDebug: Improve 'Failed to connect to debugger ...' dialog
Task-number: QTCREATORBUG-3795
This commit is contained in:
@@ -114,9 +114,9 @@ void QmlAdapter::pollInferior()
|
||||
d->m_connectionTimer.stop();
|
||||
d->m_connectionAttempts = 0;
|
||||
} else if (d->m_connectionAttempts == d->m_maxConnectionAttempts) {
|
||||
emit connectionStartupFailed();
|
||||
d->m_connectionTimer.stop();
|
||||
d->m_connectionAttempts = 0;
|
||||
emit connectionStartupFailed();
|
||||
} else {
|
||||
connectToViewer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user