From 95907f9be4881b4d9c85cd6dc8134f5bf69c10be Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Tue, 23 Nov 2021 14:13:26 +0100 Subject: [PATCH] Add variations of QPushButton with default property set Change-Id: Ie928575b131c7031da9a4d735159ba3d14ccad6c Reviewed-by: Timur Pocheptsov --- tests/baseline/widgets/tst_baseline_widgets.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/baseline/widgets/tst_baseline_widgets.cpp b/tests/baseline/widgets/tst_baseline_widgets.cpp index 13a6726008..c2afc35816 100644 --- a/tests/baseline/widgets/tst_baseline_widgets.cpp +++ b/tests/baseline/widgets/tst_baseline_widgets.cpp @@ -271,6 +271,12 @@ void tst_Widgets::tst_QPushButton() QBASELINE_CHECK(takeSnapshot(), "down"); testButton->setDown(false); QBASELINE_CHECK(takeSnapshot(), "up"); + + testButton->setDefault(true); + QBASELINE_CHECK(takeSnapshot(), "default_up"); + testButton->setDown(true); + QBASELINE_CHECK(takeSnapshot(), "default_down"); + testButton->setDown(false); }