From 47d5d349d8f5bc590ca7cdf30bf13b69bddf3225 Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 20 Jan 2012 11:22:09 +0100 Subject: Remove QBool and use bool instead. QBool was introduced with Qt-4.0, to detect Qt3-like code like if (c.contains(d) == 2) and break compilation on such constructs. This isn't necessary anymore, given that such code couldn't possibly compile in Qt4 times. And QBool was confusing developers, and creating compile errors (e.g. QVariant doesn't have support for it), so better remove it for Qt 5. Change-Id: I6642f43f5e12b872f98abb56600186179f072b09 Reviewed-by: Lars Knoll --- src/corelib/io/qdebug.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/corelib/io/qdebug.cpp') diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index 8ca15b19ca4..18f6d1692d5 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -164,14 +164,6 @@ stream. */ -/*! - \fn QDebug &QDebug::operator<<(QBool t) - \internal - - Writes the boolean value, \a t, to the stream and returns a reference to the - stream. -*/ - /*! \fn QDebug &QDebug::operator<<(bool t) -- cgit v1.2.3