summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-10-20 15:04:27 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-10-20 17:44:42 +0000
commite914c1c4d7fa36dbdbfcf7d5e3dd91b6216a9796 (patch)
tree53e7285d95fc6ad6dccb44a54907a1b5d79b8751
parentd4fe4c19e45020a258bb1ca1ac519c7a297ed072 (diff)
Fix legacy forms with wrong form object names
Since quite some time, the form object name needs to match the form widget class name. If this is not the case; opening and saving the form will break compilation by generating a lower case class name. Pick-to: 6.5 Change-Id: Ie93cb642fab4109f6af5f0a93a08ce78d51982f4 Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit cfbd2fc61e5817d35c98dd0b991b2eacda2a6e1f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/designer/src/components/formeditor/deviceprofiledialog.ui2
-rw-r--r--src/linguist/linguist/batchtranslation.ui4
-rw-r--r--src/linguist/linguist/statistics.ui4
-rw-r--r--src/linguist/linguist/translatedialog.ui4
-rw-r--r--src/linguist/linguist/translationsettings.ui4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/designer/src/components/formeditor/deviceprofiledialog.ui b/src/designer/src/components/formeditor/deviceprofiledialog.ui
index 2915eb996..1671d9780 100644
--- a/src/designer/src/components/formeditor/deviceprofiledialog.ui
+++ b/src/designer/src/components/formeditor/deviceprofiledialog.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DeviceProfileDialog</class>
- <widget class="QDialog" name="dialog">
+ <widget class="QDialog" name="DeviceProfileDialog">
<property name="geometry">
<rect>
<x>0</x>
diff --git a/src/linguist/linguist/batchtranslation.ui b/src/linguist/linguist/batchtranslation.ui
index 642b60b7f..783f5593b 100644
--- a/src/linguist/linguist/batchtranslation.ui
+++ b/src/linguist/linguist/batchtranslation.ui
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
</comment>
<class>BatchTranslationDialog</class>
- <widget class="QDialog" name="batchTranslationDialog">
+ <widget class="QDialog" name="BatchTranslationDialog">
<property name="geometry">
<rect>
<x>0</x>
@@ -206,7 +206,7 @@
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
- <receiver>batchTranslationDialog</receiver>
+ <receiver>BatchTranslationDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
diff --git a/src/linguist/linguist/statistics.ui b/src/linguist/linguist/statistics.ui
index 75e06f0a0..2cd1c1993 100644
--- a/src/linguist/linguist/statistics.ui
+++ b/src/linguist/linguist/statistics.ui
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
</comment>
<class>Statistics</class>
- <widget class="QDialog" name="linguist_stats">
+ <widget class="QDialog" name="Statistics">
<property name="geometry">
<rect>
<x>0</x>
@@ -327,7 +327,7 @@
<connection>
<sender>closeBtn</sender>
<signal>clicked()</signal>
- <receiver>linguist_stats</receiver>
+ <receiver>Statistics</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
diff --git a/src/linguist/linguist/translatedialog.ui b/src/linguist/linguist/translatedialog.ui
index dff840729..ee4af31b0 100644
--- a/src/linguist/linguist/translatedialog.ui
+++ b/src/linguist/linguist/translatedialog.ui
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
</comment>
<class>TranslateDialog</class>
- <widget class="QDialog" name="translateDialog">
+ <widget class="QDialog" name="TranslateDialog">
<property name="geometry">
<rect>
<x>0</x>
@@ -206,7 +206,7 @@
<connection>
<sender>cancel</sender>
<signal>clicked()</signal>
- <receiver>translateDialog</receiver>
+ <receiver>TranslateDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
diff --git a/src/linguist/linguist/translationsettings.ui b/src/linguist/linguist/translationsettings.ui
index c868360e6..341fe498b 100644
--- a/src/linguist/linguist/translationsettings.ui
+++ b/src/linguist/linguist/translationsettings.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TranslationSettingsDialog</class>
- <widget class="QDialog" name="translationSettingsDialog">
+ <widget class="QDialog" name="TranslationSettingsDialog">
<property name="geometry">
<rect>
<x>0</x>
@@ -120,7 +120,7 @@
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
- <receiver>translationSettingsDialog</receiver>
+ <receiver>TranslationSettingsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">