summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/uic/baseline/topicchooser.ui.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-04-21 08:25:28 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-04-23 09:59:51 +0000
commitc3737573ced4dc2217f31aac627fa8070e7512c8 (patch)
tree064e1eb9be826de9b6a66cb426434bd25227a4ee /tests/auto/tools/uic/baseline/topicchooser.ui.h
parent6545404afad30b60d1a8e9a2abaf301abaf8f6a5 (diff)
uic: Delay the setting of QPushButton::default.
For the property to take effect, the button must have its parent set. This might not be the case when a container like for example QTabWidget is involved. Move the setting of the property to the bottom of setupUi. Task-number: QTBUG-44406 Change-Id: Ic2013865a020986475fa28f2e3805c63d4de8ed0 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/tools/uic/baseline/topicchooser.ui.h')
-rw-r--r--tests/auto/tools/uic/baseline/topicchooser.ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/tools/uic/baseline/topicchooser.ui.h b/tests/auto/tools/uic/baseline/topicchooser.ui.h
index 06d34e9c63..3935a7a87b 100644
--- a/tests/auto/tools/uic/baseline/topicchooser.ui.h
+++ b/tests/auto/tools/uic/baseline/topicchooser.ui.h
@@ -77,7 +77,6 @@ public:
buttonDisplay = new QPushButton(Layout16);
buttonDisplay->setObjectName(QStringLiteral("buttonDisplay"));
buttonDisplay->setAutoDefault(true);
- buttonDisplay->setDefault(true);
hboxLayout->addWidget(buttonDisplay);
@@ -96,6 +95,9 @@ public:
retranslateUi(TopicChooser);
+ buttonDisplay->setDefault(true);
+
+
QMetaObject::connectSlotsByName(TopicChooser);
} // setupUi