From 5229cba24fff0bb348c37332e2209579e368103a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Lefebvre?= Date: Tue, 26 Nov 2024 10:41:18 +0100 Subject: [PATCH] Add white space after double slashes in tst_qprogressbar and Q_OS_MACOS Add white space after double slashes in tst_qprogressbar.cpp where missing. Change Q_OS_MAC for Q_OS_MACOS Change-Id: Ifa7876e7de008ccbb6bcd2ee038e3f35416ed84b Reviewed-by: Magdalena Stojek Reviewed-by: Axel Spoerl --- .../auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp b/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp index 8bf7e18d4fd..3823e0d8ed6 100644 --- a/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp +++ b/tests/auto/widgets/widgets/qprogressbar/tst_qprogressbar.cpp @@ -254,7 +254,7 @@ void tst_QProgressBar::setMinMaxRepaint() QTRY_VERIFY(pbar.repainted); } } -#endif //Q_OS_MAC +#endif // Q_OS_MACOS void tst_QProgressBar::sizeHint() { @@ -263,7 +263,7 @@ void tst_QProgressBar::sizeHint() bar.setMaximum(10); bar.setValue(5); - //test if the sizeHint is big enough + // test if the sizeHint is big enough QFontMetrics fm = bar.fontMetrics(); QStyleOptionProgressBar opt; bar.initStyleOption(&opt); @@ -362,7 +362,7 @@ void tst_QProgressBar::task245201_testChangeStyleAndDelete() QTest::qWait(10); delete bar; - QTest::qWait(100); //should not crash + QTest::qWait(100); // should not crash delete style; delete style2; }