summaryrefslogtreecommitdiffstats
path: root/src/network/kernel
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2011-03-22 11:17:05 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-03-22 11:18:53 (GMT)
commit747d43b89c9230d12a81e77e390f4f422f5255db (patch)
treec254f58e3431442ea058d4b020fba53b979df358 /src/network/kernel
parent3c94f70a2e2c8e9f6a6cfc952837f18568c9bc4c (diff)
downloadQt-747d43b89c9230d12a81e77e390f4f422f5255db.zip
Qt-747d43b89c9230d12a81e77e390f4f422f5255db.tar.gz
Qt-747d43b89c9230d12a81e77e390f4f422f5255db.tar.bz2
QHostInfo: Fix compilation with non-symbian
Reviewed-by: Shane Kearns
Diffstat (limited to 'src/network/kernel')
-rw-r--r--src/network/kernel/qhostinfo.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp
index aff55d9..3413c9b 100644
--- a/src/network/kernel/qhostinfo.cpp
+++ b/src/network/kernel/qhostinfo.cpp
@@ -286,6 +286,15 @@ QHostInfo QHostInfoPrivate::fromName(const QString &name, QSharedPointer<QNetwor
}
#endif
+#ifndef Q_OS_SYMBIAN
+// This function has a special implementation for symbian right now in qhostinfo_symbian.cpp but not on other OS.
+QHostInfo QHostInfoAgent::fromName(const QString &hostName, QSharedPointer<QNetworkSession> networkSession)
+{
+ return QHostInfoAgent::fromName(hostName);
+}
+#endif
+
+
/*!
\enum QHostInfo::HostInfoError