From af91b37e9f1f4334f412b742eba3ea18f1255022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Lefebvre?= Date: Mon, 2 Dec 2024 15:57:11 +0100 Subject: [PATCH] Add a comment to the class QPropagationTestWidget of tst_QWidget It is not obvious, why this class has been added. Add a comment to explain. Change-Id: Ife19e7f508e23dc22968a462d2d00e6698b807b3 Reviewed-by: Axel Spoerl Reviewed-by: Richard Moe Gustavsen --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index 16136b67a34..2d877fbe5ac 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -893,6 +893,8 @@ void tst_QWidget::fontPropagation() QVERIFY(four->testAttribute(Qt::WA_SetFont)); } +// QPropagationTestWidget is not found in QApplicationPrivate::widgetPalettes +// and therefore falls back to the system palette class QPropagationTestWidget : public QWidget { Q_OBJECT