summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-24 14:43:12 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-24 14:43:12 (GMT)
commit4b344fd9f4eec8cb4271f38e8dfdc88905375e66 (patch)
tree6b9cbdf514802248d065f6697e956c33f41c618b /src/network/kernel/qhostinfo.cpp
parent3dd48b423b3651e296d845cf734347bfb48d3137 (diff)
downloadQt-4b344fd9f4eec8cb4271f38e8dfdc88905375e66.zip
Qt-4b344fd9f4eec8cb4271f38e8dfdc88905375e66.tar.gz
Qt-4b344fd9f4eec8cb4271f38e8dfdc88905375e66.tar.bz2
Remove QObject::tr() in the network module code.
Diffstat (limited to 'src/network/kernel/qhostinfo.cpp')
-rw-r--r--src/network/kernel/qhostinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp
index 9de499e..93f6d13 100644
--- a/src/network/kernel/qhostinfo.cpp
+++ b/src/network/kernel/qhostinfo.cpp
@@ -165,7 +165,7 @@ int QHostInfo::lookupHost(const QString &name, QObject *receiver,
if (name.isEmpty()) {
QHostInfo hostInfo(id);
hostInfo.setError(QHostInfo::HostNotFound);
- hostInfo.setErrorString(QObject::tr("No host name given"));
+ hostInfo.setErrorString(QCoreApplication::translate("QHostInfo", "No host name given"));
QScopedPointer<QHostInfoResult> result(new QHostInfoResult);
QObject::connect(result.data(), SIGNAL(resultsReady(QHostInfo)),
receiver, member, Qt::QueuedConnection);