summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-01-30 14:59:10 +0100
committerUlf Hermann <ulf.hermann@qt.io>2017-01-30 15:34:46 +0000
commitc70b689526bc2f7b9d48a8822b080489d3d0c975 (patch)
tree11203dcd3de38ecffe9c6996e4385fe566f24971 /src/plugins/qmljseditor
parent1dd407736a95fe5dfe982170f48b1e6cd74a8b32 (diff)
downloadqt-creator-c70b689526bc2f7b9d48a8822b080489d3d0c975.tar.gz
Unify projectexplorer language IDs
We don't need two IDs for C++ and the QmlJS ID should look the same as as the others. Change-Id: Ib9747f6b36a90bb652951d85eec69666615670c4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qmljseditor')
-rw-r--r--src/plugins/qmljseditor/qmljseditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp
index 295796e5a3..f68a9d0e4a 100644
--- a/src/plugins/qmljseditor/qmljseditor.cpp
+++ b/src/plugins/qmljseditor/qmljseditor.cpp
@@ -1017,7 +1017,7 @@ QString QmlJSEditorWidget::foldReplacementText(const QTextBlock &block) const
QmlJSEditor::QmlJSEditor()
{
- addContext(ProjectExplorer::Constants::LANG_QMLJS);
+ addContext(ProjectExplorer::Constants::QMLJS_LANGUAGE_ID);
}
bool QmlJSEditor::isDesignModePreferred() const