summaryrefslogtreecommitdiffstats
path: root/kdecore/kidna.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kidna.cpp')
-rw-r--r--kdecore/kidna.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kidna.cpp b/kdecore/kidna.cpp
index 1ce2c1348..ca41fecdf 100644
--- a/kdecore/kidna.cpp
+++ b/kdecore/kidna.cpp
@@ -43,12 +43,12 @@ TQString KIDNA::toAscii(const TQString &idna)
{
if (idna.length() && (idna[0] == (QChar)'.'))
{
- TQString host = TQString::tqfromLatin1(toAsciiCString(idna.mid(1)));
+ TQString host = TQString::fromLatin1(toAsciiCString(idna.mid(1)));
if (host.isEmpty())
return TQString::null; // Error
return idna[0] + host;
}
- return TQString::tqfromLatin1(toAsciiCString(idna));
+ return TQString::fromLatin1(toAsciiCString(idna));
}
TQString KIDNA::toUnicode(const TQString &idna)