summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo_symbian.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-01-24 11:58:33 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-01-24 11:58:33 (GMT)
commit640152ac8057f026451da814419511cf04446eca (patch)
tree4f0021f671694fa0913ddf35c3e9a395bf001152 /src/network/kernel/qhostinfo_symbian.cpp
parentb81b429cb43e19b2211990d0aab80e78e08d87f7 (diff)
downloadQt-640152ac8057f026451da814419511cf04446eca.zip
Qt-640152ac8057f026451da814419511cf04446eca.tar.gz
Qt-640152ac8057f026451da814419511cf04446eca.tar.bz2
Fix deprecated cast from ascii warning
Reviewed-by: Aaron Tunney
Diffstat (limited to 'src/network/kernel/qhostinfo_symbian.cpp')
-rw-r--r--src/network/kernel/qhostinfo_symbian.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo_symbian.cpp b/src/network/kernel/qhostinfo_symbian.cpp
index 7fc40bc..9599274 100644
--- a/src/network/kernel/qhostinfo_symbian.cpp
+++ b/src/network/kernel/qhostinfo_symbian.cpp
@@ -126,7 +126,7 @@ QHostInfo QHostInfoAgent::fromName(const QString &hostName)
// the IPv6 addresses at the end of the address list in results.
// Synchronous request.
- err = hostResolver.GetByName(qt_QString2TPtrC(aceHostname), nameResult);
+ err = hostResolver.GetByName(qt_QString2TPtrC(QString::fromLatin1(aceHostname)), nameResult);
if (err) {
// TODO - Could there be other errors? Symbian docs don't say.
if (err = KErrNotFound) {