From 3a7ddee7f961615d4ce9e85ba96c58fcd70febec Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 19 Aug 2019 11:01:00 +0200 Subject: [PATCH] Remove Deprecated: operator= for QHostAddress is deprecated Use QHostAddress(string) instead --- src/comm/TCPLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/TCPLink.cc b/src/comm/TCPLink.cc index ecb27e2b7..f93cde8c9 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); } } -- 2.22.0