summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-29 13:43:02 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-09-29 13:43:02 (GMT)
commit75666d254304746ead69892e92fa4ab39d219df1 (patch)
treeceb744bbe6260c551aaf0fd2fc5a16aa5fd52ddb /src/network
parentf6a6e30eb16616b90d90fd6e20f9d840da41b9d1 (diff)
downloadQt-75666d254304746ead69892e92fa4ab39d219df1.zip
Qt-75666d254304746ead69892e92fa4ab39d219df1.tar.gz
Qt-75666d254304746ead69892e92fa4ab39d219df1.tar.bz2
Fix tr-Errors/remove QObject::tr(), mainly in ScriptTools
Note: Those messages are to be translated in Qt 4.6 for the first time. Reviewed-by: Kent Hansen <khansen@trolltech.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qhostinfo_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo_win.cpp b/src/network/kernel/qhostinfo_win.cpp
index 55aa77a..d9d7234 100644
--- a/src/network/kernel/qhostinfo_win.cpp
+++ b/src/network/kernel/qhostinfo_win.cpp
@@ -186,7 +186,7 @@ QHostInfo QHostInfoAgent::fromName(const QString &hostName)
results.setHostName(hostName);
if (aceHostname.isEmpty()) {
results.setError(QHostInfo::HostNotFound);
- results.setErrorString(hostName.isEmpty() ? QObject::tr("No host name given") : QObject::tr("Invalid hostname"));
+ results.setErrorString(hostName.isEmpty() ? tr("No host name given") : tr("Invalid hostname"));
return results;
}
} else {