From d7bb914ac8046d5799d73eec9a801b61e7d8695a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 3 Jul 2014 13:48:22 +0200 Subject: [PATCH] Fix debug output of QTouchEvent. Return dbg.space(). Task-number: QTBUG-29946 Change-Id: Ia79b297ee3801ccba9f7b1c22ac7a8761cbe8b2e Reviewed-by: Shawn Rutledge --- src/gui/kernel/qevent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index bb7000a266..d6741af152 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -3541,7 +3541,7 @@ QDebug operator<<(QDebug dbg, const QEvent *e) { case QEvent::TouchEnd: n = n ? n : "TouchEnd"; formatTouchEvent(dbg.nospace(), n, *static_cast(e)); - return dbg.nospace(); + return dbg.space(); case QEvent::ChildAdded: n = n ? n : "ChildAdded"; case QEvent::ChildPolished: n = n ? n : "ChildPolished"; case QEvent::ChildRemoved: n = n ? n : "ChildRemoved";