diff --git a/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp b/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp index d1bd31d8661..6233c79a5d2 100644 --- a/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp +++ b/src/plugins/qmljseditor/qmljscomponentfromobjectdef.cpp @@ -73,6 +73,7 @@ public: if (!m_idName.isEmpty()) { m_componentName = m_idName; m_componentName[0] = m_componentName.at(0).toUpper(); + m_componentName.prepend("My"); } setDescription(QCoreApplication::translate("QmlJSEditor::ComponentFromObjectDef",