summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-04-08 15:03:43 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-04-08 15:03:43 (GMT)
commit7a3692334a858d3c8dfb8b9d67946fab97233849 (patch)
treeccd0f70cfe46a018cc2f40f536330b97b5e33cd9
parent4e9eb911ffc70959d81de01fe9fe4a704cafe3eb (diff)
downloadQt-7a3692334a858d3c8dfb8b9d67946fab97233849.zip
Qt-7a3692334a858d3c8dfb8b9d67946fab97233849.tar.gz
Qt-7a3692334a858d3c8dfb8b9d67946fab97233849.tar.bz2
Designer: Specify 'notr' attribute for buttongroup name.
Such that the name does not show up in lupdate.
-rw-r--r--tools/designer/src/lib/uilib/abstractformbuilder.cpp1
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 402a771..ecb43db 100644
--- a/tools/designer/src/lib/uilib/abstractformbuilder.cpp
+++ b/tools/designer/src/lib/uilib/abstractformbuilder.cpp
@@ -2291,6 +2291,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);