summaryrefslogtreecommitdiffstats
path: root/tdecore/kidna.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kidna.cpp')
-rw-r--r--tdecore/kidna.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kidna.cpp b/tdecore/kidna.cpp
index 1ce2c1348..ca41fecdf 100644
--- a/tdecore/kidna.cpp
+++ b/tdecore/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)