summaryrefslogtreecommitdiffstats
path: root/knode/knprotocolclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knprotocolclient.cpp')
-rw-r--r--knode/knprotocolclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knode/knprotocolclient.cpp b/knode/knprotocolclient.cpp
index 330199bde..dd0db677a 100644
--- a/knode/knprotocolclient.cpp
+++ b/knode/knprotocolclient.cpp
@@ -201,11 +201,11 @@ bool KNProtocolClient::openConnection()
if (ks.status() == IO_LookupError) {
job->setErrorString(i18n("Unable to resolve hostname"));
} else if (ks.status() == IO_ConnectError) {
- job->setErrorString(i18n("Unable to connect:\n%1").arg(KExtendedSocket::strError(ks.status(), errno)));
+ job->setErrorString(i18n("Unable to connect:\n%1").tqarg(KExtendedSocket::strError(ks.status(), errno)));
} else if (ks.status() == IO_TimeOutError)
job->setErrorString(i18n("A delay occurred which exceeded the\ncurrent timeout limit."));
else
- job->setErrorString(i18n("Unable to connect:\n%1").arg(KExtendedSocket::strError(ks.status(), errno)));
+ job->setErrorString(i18n("Unable to connect:\n%1").tqarg(KExtendedSocket::strError(ks.status(), errno)));
closeSocket();
return false;
@@ -432,7 +432,7 @@ bool KNProtocolClient::checkNextResponse(int code)
void KNProtocolClient::handleErrors()
{
if (errorPrefix.isEmpty())
- job->setErrorString(i18n("An error occurred:\n%1").arg(thisLine));
+ job->setErrorString(i18n("An error occurred:\n%1").tqarg(thisLine));
else
job->setErrorString(errorPrefix + thisLine);