diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-06 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-06 19:48:06 +0000 |
commit | 0761ef3c62e43ffed5a81854b7b45e579016f5b7 (patch) | |
tree | 5aa48590c295ad6d29aafe4782d7f762f2ee38d3 /kdecore/kidna.cpp | |
parent | cb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (diff) | |
download | tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.tar.gz tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.zip |
Locked down more ambiguous datatypes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1160010 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |