LibreVNA-GUI: Fix usage of QAbstractSocket's slot 'errorOccurred'

This commit is contained in:
Alexander Voronov 2023-03-24 22:49:17 +03:00
parent 8b17a445c7
commit 714953f8aa
2 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ bool SSA3000XDriver::connectTo(QString serial)
return false;
}
connect(&dataSocket, qOverload<QAbstractSocket::SocketError>(&QTcpSocket::error), this, &SSA3000XDriver::ConnectionLost, Qt::QueuedConnection);
connect(&dataSocket, qOverload<QAbstractSocket::SocketError>(&QTcpSocket::errorOccurred), this, &SSA3000XDriver::ConnectionLost, Qt::QueuedConnection);
// grab model information
dataSocket.write("*IDN?\r\n");