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 <axel.spoerl@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
parent
355f54f7d5
commit
af91b37e9f
@ -893,6 +893,8 @@ void tst_QWidget::fontPropagation()
|
|||||||
QVERIFY(four->testAttribute(Qt::WA_SetFont));
|
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
|
class QPropagationTestWidget : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user