diff options
Diffstat (limited to 'src/plugins/qmljseditor')
-rw-r--r-- | src/plugins/qmljseditor/qmljseditor.cpp | 2 | ||||
-rw-r--r-- | src/plugins/qmljseditor/qmljseditoreditable.cpp | 2 | ||||
-rw-r--r-- | src/plugins/qmljseditor/qmljseditorfactory.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp index b7784c42bf..9e8a6513d3 100644 --- a/src/plugins/qmljseditor/qmljseditor.cpp +++ b/src/plugins/qmljseditor/qmljseditor.cpp @@ -580,7 +580,7 @@ Core::IEditor *QmlJSEditorEditable::duplicate(QWidget *parent) Core::Id QmlJSEditorEditable::id() const { - return QmlJSEditor::Constants::C_QMLJSEDITOR_ID; + return Core::Id(QmlJSEditor::Constants::C_QMLJSEDITOR_ID); } bool QmlJSEditorEditable::open(QString *errorString, const QString &fileName, const QString &realFileName) diff --git a/src/plugins/qmljseditor/qmljseditoreditable.cpp b/src/plugins/qmljseditor/qmljseditoreditable.cpp index 5a60f5c91a..e80ee04b12 100644 --- a/src/plugins/qmljseditor/qmljseditoreditable.cpp +++ b/src/plugins/qmljseditor/qmljseditoreditable.cpp @@ -85,7 +85,7 @@ Core::Id QmlJSEditorEditable::preferredModeType() const // have the user also access to this failsafe setting. if (editorWidget()->mimeType() == QLatin1String(QmlJSTools::Constants::QML_MIMETYPE) && openInDesignMode()) - return Core::Constants::MODE_DESIGN_TYPE; + return Core::Id(Core::Constants::MODE_DESIGN_TYPE); return Core::Id(); } diff --git a/src/plugins/qmljseditor/qmljseditorfactory.cpp b/src/plugins/qmljseditor/qmljseditorfactory.cpp index c42ce5ff81..17a9841b5f 100644 --- a/src/plugins/qmljseditor/qmljseditorfactory.cpp +++ b/src/plugins/qmljseditor/qmljseditorfactory.cpp @@ -66,7 +66,7 @@ QmlJSEditorFactory::QmlJSEditorFactory(QObject *parent) Core::Id QmlJSEditorFactory::id() const { - return C_QMLJSEDITOR_ID; + return Core::Id(C_QMLJSEDITOR_ID); } QString QmlJSEditorFactory::displayName() const |