diff options
Diffstat (limited to 'kdecore/kdebug.h')
-rw-r--r-- | kdecore/kdebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kdebug.h b/kdecore/kdebug.h index 8e749b24d..0a7d2546f 100644 --- a/kdecore/kdebug.h +++ b/kdecore/kdebug.h @@ -216,7 +216,7 @@ class KDECORE_EXPORT kdbgstream { kdbgstream &operator<<(const TQString& string) { if (!print) return *this; output += string; - if (output.at(output.length() -1 ) == (QChar)'\n') + if (output.tqat(output.length() -1 ) == (QChar)'\n') flush(); return *this; } @@ -228,7 +228,7 @@ class KDECORE_EXPORT kdbgstream { kdbgstream &operator<<(const char *string) { if (!print) return *this; output += TQString::fromUtf8(string); - if (output.at(output.length() - 1) == (QChar)'\n') + if (output.tqat(output.length() - 1) == (QChar)'\n') flush(); return *this; } |