Commit 72890f69 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlDebug: Signal an error if local socket cannot be opened

Change-Id: I61fa544f454e22de45d6a6ef9180a896231662c9
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <>
parent 32b484e2
......@@ -387,7 +387,8 @@ void QmlDebugConnection::startLocalServer(const QString &fileName)
// QueuedConnection so that waitForNewConnection() returns true.
connect(d->server, &QLocalServer::newConnection,
this, &QmlDebugConnection::newConnection, Qt::QueuedConnection);
if (!d->server->listen(fileName))
emit socketError(QAbstractSocket::UnknownSocketError);
void QmlDebugConnection::newConnection()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment