diff options
author | David Faure <faure@kde.org> | 2010-01-05 16:10:24 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-01-05 16:10:24 (GMT) |
commit | 522660346023c025d14bfa029f70c88d18eb609d (patch) | |
tree | 40c9ac595e03bd2008a52fe8eecb1e068877a827 /tests/auto/uic3 | |
parent | 547e117e7463db85651d910d5a627806388b9afc (diff) | |
download | Qt-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')
-rw-r--r-- | tests/auto/uic3/baseline/config.ui | 11 | ||||
-rw-r--r-- | tests/auto/uic3/baseline/config.ui.4 | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/auto/uic3/baseline/config.ui b/tests/auto/uic3/baseline/config.ui index 1ffeab3..dc02682 100644 --- a/tests/auto/uic3/baseline/config.ui +++ b/tests/auto/uic3/baseline/config.ui @@ -1648,6 +1648,17 @@ <string><p>Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth <i>above</i>. You may freely modify the Gamma <i>below</i>.</string> </property> </widget> + <widget class="QRadioButton"> + <property name="name"> + <cstring>test_for_useless_buttongroupId</cstring> + </property> + <property name="text"> + <string>Test</string> + </property> + <property name="buttonGroupId"> + <string>1</string> + </property> + </widget> </grid> </widget> <customwidgets> 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"/> |