Use qt5 syntax for a few remaining SLOT()

This commit is contained in:
thalieht 2018-05-10 20:42:19 +03:00
parent 768262ae64
commit 4cfa163bbd
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
}
}