Raise minimum Qt version to 5.9.0

This commit is contained in:
sledgehammer999
2019-03-03 20:33:17 +02:00
parent c109b7a57a
commit 5c63ad3b95
11 changed files with 28 additions and 56 deletions

View File

@@ -62,11 +62,7 @@ void ReverseResolution::resolve(const QString &ip)
}
else {
// Actually resolve the ip
#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
m_lookups.insert(QHostInfo::lookupHost(ip, this, &ReverseResolution::hostResolved), ip);
#else
m_lookups.insert(QHostInfo::lookupHost(ip, this, SLOT(hostResolved(QHostInfo))), ip);
#endif
}
}