diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2011-03-22 11:17:05 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2011-03-22 11:18:53 (GMT) |
commit | 747d43b89c9230d12a81e77e390f4f422f5255db (patch) | |
tree | c254f58e3431442ea058d4b020fba53b979df358 | |
parent | 3c94f70a2e2c8e9f6a6cfc952837f18568c9bc4c (diff) | |
download | Qt-747d43b89c9230d12a81e77e390f4f422f5255db.zip Qt-747d43b89c9230d12a81e77e390f4f422f5255db.tar.gz Qt-747d43b89c9230d12a81e77e390f4f422f5255db.tar.bz2 |
QHostInfo: Fix compilation with non-symbian
Reviewed-by: Shane Kearns
-rw-r--r-- | src/network/kernel/qhostinfo.cpp | 9 |
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 |