diff --git a/src/comm/BluetoothLink.cc b/src/comm/BluetoothLink.cc index e6606987fe7c0037c9a2abeb8aa57d5ff6efd831..cca76cd647f48b073a4ab0a0e67f78c43c7f8d4a 100644 --- a/src/comm/BluetoothLink.cc +++ b/src/comm/BluetoothLink.cc @@ -390,7 +390,7 @@ void BluetoothConfiguration::setDevName(const QString &name) QString BluetoothConfiguration::address() { #ifdef __ios__ - return QString(""); + return {}; #else return _device.address; #endif diff --git a/src/comm/TCPLink.cc b/src/comm/TCPLink.cc index d91cdb145d5b4ed9ff79092a22145264f46505d2..76b3eb51e92f9adfc3b24bc968c9b33cfa544cd2 100644 --- a/src/comm/TCPLink.cc +++ b/src/comm/TCPLink.cc @@ -263,7 +263,7 @@ static QString get_ip_address(const QString& address) } } } - return QString(""); + return {}; } TCPConfiguration::TCPConfiguration(const QString& name) : LinkConfiguration(name) diff --git a/src/comm/UDPLink.cc b/src/comm/UDPLink.cc index ff42b07f76a8b6580a4faa49b90cd535ea5805d8..20a13e769bc74e1ccb6f9721c931c57898192a6b 100644 --- a/src/comm/UDPLink.cc +++ b/src/comm/UDPLink.cc @@ -65,7 +65,7 @@ static QString get_ip_address(const QString& address) } } } - return QString(""); + return {}; } static bool contains_target(const QList list, const QHostAddress& address, quint16 port)