Use qt5 syntax for a few remaining SLOT()

This commit is contained in:
thalieht 2018-05-10 20:42:19 +03:00 committed by sledgehammer999
parent e33df4dd8c
commit 800f966df9
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
4 changed files with 8 additions and 4 deletions

View file

@ -65,7 +65,11 @@ 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
}
}