Fix QT_NO_LIBRARY compile in Unix DNS lookup implementation.
The static method QDnsLookupRunnable::query() got an additional parameter for QTBUG-30166, but the #ifdef'd part was not updated. Change-Id: Ifc317bfae6e02c00936e1922ec77f89fb5faf497 Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
parent
8fa91217bc
commit
aa4ad43cfd
@ -370,11 +370,11 @@ void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestN
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestName, const QHostAddress &nameserver, QDnsLookupReply *reply)
|
||||||
void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestName, QDnsLookupReply *reply)
|
|
||||||
{
|
{
|
||||||
Q_UNUSED(requestType)
|
Q_UNUSED(requestType)
|
||||||
Q_UNUSED(requestName)
|
Q_UNUSED(requestName)
|
||||||
|
Q_UNUSED(nameserver)
|
||||||
reply->error = QDnsLookup::ResolverError;
|
reply->error = QDnsLookup::ResolverError;
|
||||||
reply->errorString = tr("Resolver library can't be loaded: No runtime library loading support");
|
reply->errorString = tr("Resolver library can't be loaded: No runtime library loading support");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user