diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-05 01:58:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-05 01:58:29 (GMT) |
commit | 56d5cac2f2bbee9e4e1ee6ac6ac9670926bb329f (patch) | |
tree | 4533403537769121558dec29414ffcedb1103abc /src/corelib/io/qdebug.h | |
parent | 186cdd1c29f1c708455ec2f0771a6eb600d4a075 (diff) | |
parent | 4c486619517cea4012a157995bce197c817d83e5 (diff) | |
download | Qt-56d5cac2f2bbee9e4e1ee6ac6ac9670926bb329f.zip Qt-56d5cac2f2bbee9e4e1ee6ac6ac9670926bb329f.tar.gz Qt-56d5cac2f2bbee9e4e1ee6ac6ac9670926bb329f.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Diffstat (limited to 'src/corelib/io/qdebug.h')
-rw-r--r-- | src/corelib/io/qdebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qdebug.h b/src/corelib/io/qdebug.h index ff8c6c8..c1c7812 100644 --- a/src/corelib/io/qdebug.h +++ b/src/corelib/io/qdebug.h @@ -93,7 +93,7 @@ public: inline QDebug &maybeSpace() { if (stream->space) stream->ts << ' '; return *this; } inline QDebug &operator<<(QChar t) { stream->ts << '\'' << t << '\''; return maybeSpace(); } - inline QDebug &operator<<(QBool t) { stream->ts << (bool(t) ? "true" : "false"); return maybeSpace(); } + inline QDebug &operator<<(QBool t) { stream->ts << (bool(t != 0) ? "true" : "false"); return maybeSpace(); } inline QDebug &operator<<(bool t) { stream->ts << (t ? "true" : "false"); return maybeSpace(); } inline QDebug &operator<<(char t) { stream->ts << t; return maybeSpace(); } inline QDebug &operator<<(signed short t) { stream->ts << t; return maybeSpace(); } |