Cleanup code
This commit is contained in:
parent
aed688224b
commit
aae1da3aa8
10 changed files with 3 additions and 37 deletions
|
|
@ -121,7 +121,6 @@ QString Utils::getIPAddress(const QString& host)
|
|||
|
||||
QList<QHostAddress> adresses = QHostInfo::fromName(host).addresses();
|
||||
if (!adresses.isEmpty()) {
|
||||
qDebug() << "Resolved address for" << host << adresses.first().toString();
|
||||
return adresses.first().toString();
|
||||
}
|
||||
qDebug() << "Unable to resolve address for " << host;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue