summaryrefslogtreecommitdiffstats
path: root/tests/auto/uic3/baseline/config.ui.4
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2010-01-05 16:10:24 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-05 16:10:24 (GMT)
commit522660346023c025d14bfa029f70c88d18eb609d (patch)
tree40c9ac595e03bd2008a52fe8eecb1e068877a827 /tests/auto/uic3/baseline/config.ui.4
parent547e117e7463db85651d910d5a627806388b9afc (diff)
downloadQt-522660346023c025d14bfa029f70c88d18eb609d.zip
Qt-522660346023c025d14bfa029f70c88d18eb609d.tar.gz
Qt-522660346023c025d14bfa029f70c88d18eb609d.tar.bz2
uic3/uic: Ignore buttonGroupId property when there is no parent QButtonGroup
The uic from Qt3 did the same. And otherwise uic3/uic generates a radiobutton->setButtonGroupId(val) line, which does not compile. Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/uic3/baseline/config.ui.4')
-rw-r--r--tests/auto/uic3/baseline/config.ui.410
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/uic3/baseline/config.ui.4 b/tests/auto/uic3/baseline/config.ui.4
index 17e6a7c..0bd6256 100644
--- a/tests/auto/uic3/baseline/config.ui.4
+++ b/tests/auto/uic3/baseline/config.ui.4
@@ -1595,6 +1595,16 @@
</property>
</widget>
</item>
+ <item>
+ <widget class="QRadioButton" name="test_for_useless_buttongroupId">
+ <property name="text">
+ <string>Test</string>
+ </property>
+ <property name="buttonGroupId">
+ <string>1</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>