summaryrefslogtreecommitdiffstats
path: root/tests/auto/qradiobutton/tst_qradiobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qradiobutton/tst_qradiobutton.cpp')
-rw-r--r--tests/auto/qradiobutton/tst_qradiobutton.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qradiobutton/tst_qradiobutton.cpp b/tests/auto/qradiobutton/tst_qradiobutton.cpp
index b9a1931..79d3c8e 100644
--- a/tests/auto/qradiobutton/tst_qradiobutton.cpp
+++ b/tests/auto/qradiobutton/tst_qradiobutton.cpp
@@ -58,6 +58,7 @@ public:
private slots:
void task190739_focus();
+ void minimumSizeHint();
private:
};
@@ -96,6 +97,11 @@ void tst_QRadioButton::task190739_focus()
}
+void tst_QRadioButton::minimumSizeHint()
+{
+ QRadioButton button(tr("QRadioButtons sizeHint is the same as it's minimumSizeHint"));
+ QCOMPARE(button.sizeHint(), button.minimumSizeHint());
+}
QTEST_MAIN(tst_QRadioButton)