From f1550140010d5fdd431bbbc190d11848107bbdb8 Mon Sep 17 00:00:00 2001 From: David Faure 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 --- 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 From 271a90c962ca6e419b2a6831f35a6a06be80a85d Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 3 Apr 2010 19:23:57 +0200 Subject: Fix doc for deprecated QGridLayout::colSpacing: point to existing method Merge-request: 544 Reviewed-by: Benjamin Poulain --- src/gui/kernel/qgridlayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/kernel/qgridlayout.cpp b/src/gui/kernel/qgridlayout.cpp index dbd3c01..81a4d04 100644 --- a/src/gui/kernel/qgridlayout.cpp +++ b/src/gui/kernel/qgridlayout.cpp @@ -1852,7 +1852,7 @@ void QGridLayout::invalidate() /*! \fn int QGridLayout::colSpacing(int col) const - Use columnSpacing() instead. + Use columnMinimumWidth() instead. */ /*! -- cgit v0.12