Browse Source

Remove Deprecated: operator= for QHostAddress is deprecated

Use QHostAddress(string) instead
QGC4.4
Tomaz Canabrava 6 years ago committed by Daniel Agar
parent
commit
3a7ddee7f9
  1. 2
      src/comm/TCPLink.cc

2
src/comm/TCPLink.cc

@ -302,7 +302,7 @@ void TCPConfiguration::setHost(const QString host) @@ -302,7 +302,7 @@ void TCPConfiguration::setHost(const QString host)
if(ipAdd.isEmpty()) {
qWarning() << "TCP:" << "Could not resolve host:" << host;
} else {
_address = ipAdd;
_address = QHostAddress(ipAdd);
}
}

Loading…
Cancel
Save