Revert "Utils: portOpen: additional error logging"

This reverts commit 7e89310386.
This commit is contained in:
tobtoht 2023-05-23 20:32:20 +02:00
parent b2c1d0ad6d
commit dabf328ed3

View file

@ -299,11 +299,8 @@ bool portOpen(const QString &hostname, quint16 port) { // TODO: this call should
QTcpSocket socket;
socket.connectToHost(hostname, port);
bool res = socket.waitForConnected(1000);
bool res = socket.waitForConnected(600);
qDebug() << QString("Port " + (res ? QString("Open") : QString("Closed")));
if (!res) {
qDebug() << "Error: " << socket.error() << " - " << socket.errorString();
}
return res;
}