diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-04-08 15:03:43 (GMT) |
---|---|---|
committer | Qt Commercial Integration <QtCommercial@digia.com> | 2012-01-31 10:25:04 (GMT) |
commit | 67de119aa767e2d74e7a042c7d74e3353deea506 (patch) | |
tree | 06158fee0a8ce849631fb78855d3aaa443b4531e /tools/designer | |
parent | 22241413099caa4b70ee78ebcab9135b4f357290 (diff) | |
download | Qt-67de119aa767e2d74e7a042c7d74e3353deea506.zip Qt-67de119aa767e2d74e7a042c7d74e3353deea506.tar.gz Qt-67de119aa767e2d74e7a042c7d74e3353deea506.tar.bz2 |
Designer: Specify 'notr' attribute for buttongroup name.
Such that the name does not show up in lupdate.
Diffstat (limited to 'tools/designer')
-rw-r--r-- | tools/designer/src/lib/uilib/abstractformbuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/designer/src/lib/uilib/abstractformbuilder.cpp b/tools/designer/src/lib/uilib/abstractformbuilder.cpp index 1abe4f2..7e4bf38 100644 --- a/tools/designer/src/lib/uilib/abstractformbuilder.cpp +++ b/tools/designer/src/lib/uilib/abstractformbuilder.cpp @@ -2152,6 +2152,7 @@ void QAbstractFormBuilder::saveButtonExtraInfo(const QAbstractButton *widget, Do DomPropertyList attributes = ui_widget->elementAttribute(); DomString *domString = new DomString(); domString->setText(buttonGroup->objectName()); + domString->setAttributeNotr(QLatin1String("true")); DomProperty *domProperty = new DomProperty(); domProperty->setAttributeName(QLatin1String(buttonGroupPropertyC)); domProperty->setElementString(domString); |