diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-21 08:35:19 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-21 08:35:19 (GMT) |
commit | 3d91f9a971990324ef1d785c9c0b8bbed1175711 (patch) | |
tree | f16dcc37122be06d07c70660fc9aa72b4324e8bb /tools | |
parent | af760349e083c0d9719733abe5f39f35ff02f81c (diff) | |
download | Qt-3d91f9a971990324ef1d785c9c0b8bbed1175711.zip Qt-3d91f9a971990324ef1d785c9c0b8bbed1175711.tar.gz Qt-3d91f9a971990324ef1d785c9c0b8bbed1175711.tar.bz2 |
Designer: Do not translate page object names of QMdiArea.
and page-based containers.
Task-number: QTBUG-18244
Diffstat (limited to 'tools')
-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 148b4c8..f4e250d 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 |