Skip to content
Snippets Groups Projects
Commit 465675d3 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Two descriptions in the file new dialog were swapped

No strings translations were harmed in this commit. No kittens either.

Reviewed-by: Alessandro Portale
parent fe396a51
No related merge requests found
...@@ -129,16 +129,16 @@ void FormEditorPlugin::initializeTemplates() ...@@ -129,16 +129,16 @@ void FormEditorPlugin::initializeTemplates()
const QString formFileType = QLatin1String(Constants::FORM_FILE_TYPE); const QString formFileType = QLatin1String(Constants::FORM_FILE_TYPE);
wizardParameters.setDisplayName(tr("Qt Designer Form")); wizardParameters.setDisplayName(tr("Qt Designer Form"));
wizardParameters.setId(QLatin1String("D.Form")); wizardParameters.setId(QLatin1String("D.Form"));
wizardParameters.setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) " wizardParameters.setDescription(tr("Creates a Qt Designer form that you can add to a Qt C++ project. "
"for implementation purposes. You can add the form and class to an existing Qt C++ Project.")); "This is useful if you already have an existing class for the UI business logic."));
addAutoReleasedObject(new FormWizard(wizardParameters, this)); addAutoReleasedObject(new FormWizard(wizardParameters, this));
#ifdef CPP_ENABLED #ifdef CPP_ENABLED
wizardParameters.setKind(Core::IWizard::ClassWizard); wizardParameters.setKind(Core::IWizard::ClassWizard);
wizardParameters.setDisplayName(tr("Qt Designer Form Class")); wizardParameters.setDisplayName(tr("Qt Designer Form Class"));
wizardParameters.setId(QLatin1String("C.FormClass")); wizardParameters.setId(QLatin1String("C.FormClass"));
wizardParameters.setDescription(tr("Creates a Qt Designer form that you can add to a Qt C++ project. " wizardParameters.setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
"This is useful if you already have an existing class for the UI business logic.")); "for implementation purposes. You can add the form and class to an existing Qt C++ Project."));
addAutoReleasedObject(new FormClassWizard(wizardParameters, this)); addAutoReleasedObject(new FormClassWizard(wizardParameters, this));
addAutoReleasedObject(new CppSettingsPage); addAutoReleasedObject(new CppSettingsPage);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment