Fix warning: "Missing emit keyword on signal call"

[-Wclazy-incorrect-emit]

Change-Id: I93bdc6e23cdaccf35c9899ae16870ccc65a54f80
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Alessandro Portale
2019-01-16 18:06:21 +01:00
parent 710e57a628
commit 616e19ff9e
42 changed files with 97 additions and 93 deletions

View File

@@ -399,7 +399,7 @@ void QmlDebugConnection::newConnection()
connect(socket, &QLocalSocket::stateChanged,
this, [this](QLocalSocket::LocalSocketState state) {
logStateChange(socketStateToString(static_cast<QAbstractSocket::SocketState>(state)));
emit logStateChange(socketStateToString(static_cast<QAbstractSocket::SocketState>(state)));
});
socketConnected();