path: root/src/tools/bootstrap
diff options
authorDavid Faure <>2014-02-07 16:12:35 +0100
committerThe Qt Project <>2014-03-13 17:59:50 +0100
commit91c9cae720004ad6bb0c7b3b7e6f64a9e6a6fcf3 (patch)
tree86f62e70350997d022af7f62d2aa89cff731c4c2 /src/tools/bootstrap
parent73d761ffe5ed9364e20e3766afe89213a089ec28 (diff)
QDebugStateSaver: call maybeSpace() in destructor.
tst_qdebug didn't test adding something else after the MyLine object, so I didn't realize that a space was missing there. All debug operators should end with maybeSpace(), but with the settings of the caller, so this requires restoring the settings before calling it. To make it convenient for all << operators, the destructor of QDebugStateSaver takes care of that. Change-Id: I18ab78d99d7ee3be951082b5b5d34718ee60e21d Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/tools/bootstrap')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/bootstrap/ b/src/tools/bootstrap/
index fea4e2519f..630a8c985f 100644
--- a/src/tools/bootstrap/
+++ b/src/tools/bootstrap/
@@ -61,6 +61,7 @@ SOURCES += \
../../corelib/io/qabstractfileengine.cpp \
../../corelib/io/qbuffer.cpp \
../../corelib/io/qdatastream.cpp \
+ ../../corelib/io/qdebug.cpp \
../../corelib/io/qdir.cpp \
../../corelib/io/qdiriterator.cpp \
../../corelib/io/qfile.cpp \