From b2ed01891d41095522edf6f9a69dd412abc7149e Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 31 Oct 2011 17:32:21 +1000 Subject: Remove debug code from QGridLayout autotest Any test diagnostics that are useful should be part of the regular test output, as the CI system cannot switch on commented-out code when there is a test failure. Change-Id: Ifd2bbd17677e16ddb0f1846287d722cdae76d984 Reviewed-by: Rohan McGovern --- tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/auto/widgets') diff --git a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp index 11f0cfc7fb..4f0630e80f 100644 --- a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp +++ b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp @@ -1588,10 +1588,6 @@ void tst_QGridLayout::spacerWithSpacing() populate(&layout, 1, j); populate(&layout, 2, k); QCOMPARE(window.sizeHint().height(), expectedHeight[ii]); -#if 0 - const char T[] = "ws-"; - qWarning("%c%c%c: %.3d", i[T], j[T], k[T], window.sizeHint().height()); -#endif ++ii; } } -- cgit v1.2.3