diff --git a/src/comm/TCPLink.cc b/src/comm/TCPLink.cc index ecb27e2b7c9ca43dd1411bff4ab72626045095f1..f93cde8c97f5f5c7a2e69fd7ed031cb45b33ca8b 100644 --- a/src/comm/TCPLink.cc +++ b/src/comm/TCPLink.cc @@ -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); } }