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 884545257..7d9dd5957 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 ) == '\n') + if (output.at(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) == '\n') + if (output.at(output.length() - 1) == (QChar)'\n') flush(); return *this; } |