1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02:00

Add localsocket error info

This commit is contained in:
Elias Steurer 2021-06-25 12:08:26 +02:00
parent 4ba2a1d3e5
commit 1b292b7a6a

View File

@ -18,6 +18,9 @@ ScreenPlay::SDKConnection::SDKConnection(QLocalSocket* socket, QObject* parent)
{
m_socket = socket;
connect(m_socket, &QLocalSocket::readyRead, this, &SDKConnection::readyRead);
connect(m_socket, &QLocalSocket::errorOccurred, this, [](QLocalSocket::LocalSocketError socketError){
qInfo() << "Localsocket error:" << socketError;
});
}
/*!