summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Imhof <steffen.imhof@basyskom.com>2014-05-22 16:23:21 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-10 16:25:22 +0200
commitaa4ad43cfded4b3db0aef8b7cfd6cbeb1bb5c253 (patch)
tree055ad5c2543206d2d8e75c3af60b0bf16ea401e4
parent8fa91217bcd0917cbc22e4608a579e6b1dedcde8 (diff)
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>
-rw-r--r--src/network/kernel/qdnslookup_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp
index 26834dff57..108fcbaf60 100644
--- a/src/network/kernel/qdnslookup_unix.cpp
+++ b/src/network/kernel/qdnslookup_unix.cpp
@@ -370,11 +370,11 @@ void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestN
}
#else
-
-void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestName, QDnsLookupReply *reply)
+void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestName, const QHostAddress &nameserver, QDnsLookupReply *reply)
{
Q_UNUSED(requestType)
Q_UNUSED(requestName)
+ Q_UNUSED(nameserver)
reply->error = QDnsLookup::ResolverError;
reply->errorString = tr("Resolver library can't be loaded: No runtime library loading support");
return;