summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo_symbian.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-12-09 16:08:43 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-12-09 16:09:53 (GMT)
commit931b3189d727f25f97c84f33c1d5fddaf0538777 (patch)
tree06dcc13304c5ea24faa91aaf021b6d43ee6d0f82 /src/network/kernel/qhostinfo_symbian.cpp
parent9bbe9bc76222fa6f89283d96cbd9e448e331f909 (diff)
downloadQt-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.cpp5
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;
}