Designer: Fix warning about missing editor factory on 'recent file'

caused by mismatched ID's of editor and editor factory.
This commit is contained in:
Friedemann Kleint
2011-03-14 12:21:25 +01:00
parent c77375fd13
commit 07af4aa9ea
2 changed files with 1 additions and 2 deletions

View File

@@ -42,7 +42,6 @@ namespace Constants {
const char * const INFO_READ_ONLY = "DesignerXmlEditor.ReadOnly"; const char * const INFO_READ_ONLY = "DesignerXmlEditor.ReadOnly";
const char * const K_DESIGNER_XML_EDITOR_ID = "FormEditor.DesignerXmlEditor"; const char * const K_DESIGNER_XML_EDITOR_ID = "FormEditor.DesignerXmlEditor";
const char * const C_DESIGNER_XML_EDITOR = "Designer Xml Editor"; const char * const C_DESIGNER_XML_EDITOR = "Designer Xml Editor";
const char * const DESIGNER_XML_EDITOR_ID ="DesignerXmlEditor";
const char * const C_DESIGNER_XML_DISPLAY_NAME = QT_TRANSLATE_NOOP("Designer", "Form Editor"); const char * const C_DESIGNER_XML_DISPLAY_NAME = QT_TRANSLATE_NOOP("Designer", "Form Editor");
const char * const SETTINGS_CATEGORY = "P.Designer"; const char * const SETTINGS_CATEGORY = "P.Designer";

View File

@@ -65,7 +65,7 @@ FormEditorFactory::FormEditorFactory()
QString FormEditorFactory::id() const QString FormEditorFactory::id() const
{ {
return QLatin1String(DESIGNER_XML_EDITOR_ID); return QLatin1String(K_DESIGNER_XML_EDITOR_ID);
} }
QString FormEditorFactory::displayName() const QString FormEditorFactory::displayName() const