From 747d43b89c9230d12a81e77e390f4f422f5255db Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Tue, 22 Mar 2011 12:17:05 +0100 Subject: QHostInfo: Fix compilation with non-symbian Reviewed-by: Shane Kearns --- src/network/kernel/qhostinfo.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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 networkSession) +{ + return QHostInfoAgent::fromName(hostName); +} +#endif + + /*! \enum QHostInfo::HostInfoError -- cgit v0.12