mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-29 13:20:18 +02:00
Show socket error in McClient
Signed-off-by: iTrooz <hey@itrooz.fr>
This commit is contained in:
parent
b06c4341d8
commit
0b9d4784d8
@ -26,7 +26,7 @@ void McClient::getStatusData() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
connect(&m_socket, &QTcpSocket::errorOccurred, this, [this]() {
|
connect(&m_socket, &QTcpSocket::errorOccurred, this, [this]() {
|
||||||
emitFail("Socket disconnected");
|
emitFail("Socket disconnected: " + m_socket.errorString());
|
||||||
});
|
});
|
||||||
|
|
||||||
m_socket.connectToHost(m_ip, m_port);
|
m_socket.connectToHost(m_ip, m_port);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user