forked from qt-creator/qt-creator
QmlJSDebugger: Don't mark failing connection attempt as swarning
We're trying multiple times to connect, and it's just normal that the first tries will fail (because the app isn't initialized yet), so don't log it as a warning.
This commit is contained in:
@@ -148,7 +148,7 @@ void QmlAdapter::sendMessage(const QByteArray &msg)
|
||||
|
||||
void QmlAdapter::connectionErrorOccurred(QAbstractSocket::SocketError socketError)
|
||||
{
|
||||
showConnectionErrorMessage(tr("Error: (%1) %2", "%1=error code, %2=error message")
|
||||
showConnectionStatusMessage(tr("Error: (%1) %2", "%1=error code, %2=error message")
|
||||
.arg(d->m_conn->error()).arg(d->m_conn->errorString()));
|
||||
|
||||
// this is only an error if we are already connected and something goes wrong.
|
||||
|
||||
Reference in New Issue
Block a user