mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Show socket error in McClient
Signed-off-by: iTrooz <hey@itrooz.fr>
This commit is contained in:
parent
b06c4341d8
commit
0b9d4784d8
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ void McClient::getStatusData() {
|
|||
});
|
||||
|
||||
connect(&m_socket, &QTcpSocket::errorOccurred, this, [this]() {
|
||||
emitFail("Socket disconnected");
|
||||
emitFail("Socket disconnected: " + m_socket.errorString());
|
||||
});
|
||||
|
||||
m_socket.connectToHost(m_ip, m_port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue