From f1550140010d5fdd431bbbc190d11848107bbdb8 Mon Sep 17 00:00:00 2001 From: David Faure <faure@kde.org> Date: Sat, 3 Apr 2010 19:23:56 +0200 Subject: qDebug() << myPointF would remove spaces in following arguments. Merge-request: 544 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com> --- src/corelib/tools/qpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qpoint.cpp b/src/corelib/tools/qpoint.cpp index d60087f..9850ee7 100644 --- a/src/corelib/tools/qpoint.cpp +++ b/src/corelib/tools/qpoint.cpp @@ -374,7 +374,7 @@ QDebug operator<<(QDebug dbg, const QPoint &p) { QDebug operator<<(QDebug d, const QPointF &p) { d.nospace() << "QPointF(" << p.x() << ", " << p.y() << ')'; - return d; + return d.space(); } #endif -- cgit v0.12