Commit 3a7ddee7 authored by Tomaz Canabrava's avatar Tomaz Canabrava Committed by Daniel Agar

Remove Deprecated: operator= for QHostAddress is deprecated

Use QHostAddress(string) instead
parent a48ee53d
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment