diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-12-09 16:08:43 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-12-09 16:09:53 (GMT) |
commit | 931b3189d727f25f97c84f33c1d5fddaf0538777 (patch) | |
tree | 06dcc13304c5ea24faa91aaf021b6d43ee6d0f82 /src/network/kernel/qhostinfo_symbian.cpp | |
parent | 9bbe9bc76222fa6f89283d96cbd9e448e331f909 (diff) | |
download | Qt-931b3189d727f25f97c84f33c1d5fddaf0538777.zip Qt-931b3189d727f25f97c84f33c1d5fddaf0538777.tar.gz Qt-931b3189d727f25f97c84f33c1d5fddaf0538777.tar.bz2 |
Fix some crashes in the symbian socket engine
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/kernel/qhostinfo_symbian.cpp')
-rw-r--r-- | src/network/kernel/qhostinfo_symbian.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/kernel/qhostinfo_symbian.cpp b/src/network/kernel/qhostinfo_symbian.cpp index 287021f..e70f2ce 100644 --- a/src/network/kernel/qhostinfo_symbian.cpp +++ b/src/network/kernel/qhostinfo_symbian.cpp @@ -89,6 +89,11 @@ QHostInfo QHostInfoAgent::fromName(const QString &hostName) } */ + //TODO: HACK to return qt-test-server's ip + QList<QHostAddress> addresses; + addresses.append(QHostAddress("192.168.1.8")); + results.setHostName(hostName); + results.setAddresses(addresses); return results; } |