diff options
Diffstat (limited to 'kdecore/kidna.cpp')
-rw-r--r-- | kdecore/kidna.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kidna.cpp b/kdecore/kidna.cpp index c7e1ccdb5..ca41fecdf 100644 --- a/kdecore/kidna.cpp +++ b/kdecore/kidna.cpp @@ -41,7 +41,7 @@ TQCString KIDNA::toAsciiCString(const TQString &idna) TQString KIDNA::toAscii(const TQString &idna) { - if (idna.length() && (idna[0] == ".")) + if (idna.length() && (idna[0] == (QChar)'.')) { TQString host = TQString::fromLatin1(toAsciiCString(idna.mid(1))); if (host.isEmpty()) @@ -54,7 +54,7 @@ TQString KIDNA::toAscii(const TQString &idna) TQString KIDNA::toUnicode(const TQString &idna) { #ifndef Q_WS_WIN //TODO kresolver not ported - if (idna.length() && (idna[0] == ".")) + if (idna.length() && (idna[0] == (QChar)'.')) return idna[0] + KResolver::domainToUnicode(idna.mid(1)); return KResolver::domainToUnicode(idna); #else |