mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 14:07:30 +00:00
LibreVNA-GUI: Fix usage of QAbstractSocket's slot 'errorOccurred'
This commit is contained in:
parent
8b17a445c7
commit
714953f8aa
2 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue