some cppcheck and clang-tidy fixies
This commit is contained in:
committed by
Jonathan White
parent
ac7face247
commit
98badfb4a2
@@ -90,7 +90,7 @@ void IconDownloader::setUrl(const QString& entryUrl)
|
||||
// searching for a match with the returned address(es).
|
||||
bool hostIsIp = false;
|
||||
QList<QHostAddress> hostAddressess = QHostInfo::fromName(fullyQualifiedDomain).addresses();
|
||||
for (auto addr : hostAddressess) {
|
||||
for (const auto& addr : hostAddressess) {
|
||||
if (addr.toString() == fullyQualifiedDomain) {
|
||||
hostIsIp = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user