summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-03-21 08:35:19 (GMT)
committerQt Commercial Integration <QtCommercial@digia.com>2012-01-31 10:25:04 (GMT)
commit2bc0d1f391bdf2da52f2f46479ca1750677c9fd2 (patch)
tree02cd36ec123d659deffc0d4127e1c01edce03e6f /tools/designer
parent4738c3181edd88ed369238c277b7f0e6b0b7a6c4 (diff)
downloadQt-2bc0d1f391bdf2da52f2f46479ca1750677c9fd2.zip
Qt-2bc0d1f391bdf2da52f2f46479ca1750677c9fd2.tar.gz
Qt-2bc0d1f391bdf2da52f2f46479ca1750677c9fd2.tar.bz2
Designer: Do not translate page object names of QMdiArea.
and page-based containers. Task-number: QTBUG-18244
Diffstat (limited to 'tools/designer')
-rw-r--r--tools/designer/src/lib/shared/qdesigner_command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/designer/src/lib/shared/qdesigner_command.cpp b/tools/designer/src/lib/shared/qdesigner_command.cpp
index ac607ac..8d06442 100644
--- a/tools/designer/src/lib/shared/qdesigner_command.cpp
+++ b/tools/designer/src/lib/shared/qdesigner_command.cpp
@@ -2094,12 +2094,12 @@ void AddContainerWidgetPageCommand::init(QWidget *containerWidget, ContainerType
case PageContainer:
setText(QApplication::translate("Command", "Insert Page"));
m_widget = new QDesignerWidget(formWindow(), m_containerWidget);
- m_widget->setObjectName(QApplication::translate("Command", "page"));
+ m_widget->setObjectName(QLatin1String("page"));
break;
case MdiContainer:
setText(QApplication::translate("Command", "Insert Subwindow"));
m_widget = new QDesignerWidget(formWindow(), m_containerWidget);
- m_widget->setObjectName(QApplication::translate("Command", "subwindow"));
+ m_widget->setObjectName(QLatin1String("subwindow"));
setPropertySheetWindowTitle(core, m_widget, QApplication::translate("Command", "Subwindow"));
break;
case WizardContainer: // Apply style, don't manage