diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-21 09:35:19 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-21 09:35:19 +0100 |
commit | 3d91f9a971990324ef1d785c9c0b8bbed1175711 (patch) | |
tree | f16dcc37122be06d07c70660fc9aa72b4324e8bb /tools/designer | |
parent | af760349e083c0d9719733abe5f39f35ff02f81c (diff) | |
download | qt4-tools-3d91f9a971990324ef1d785c9c0b8bbed1175711.tar.gz |
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.cpp | 4 |
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 148b4c8acf..f4e250d892 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 |