From 6eddf4188601eaa0414ef1bf801b6da4f6acc5d2 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 26 Oct 2016 18:19:49 +0200 Subject: [PATCH] Documenting QmlJS error message I also fixed the "." Change-Id: I65cdc6be8b2de31af411d1172780281afd20a4f9 Reviewed-by: Tim Jenssen --- doc/src/editors/creator-editors.qdoc | 6 ++++++ src/libs/qmljs/qmljsstaticanalysismessage.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/src/editors/creator-editors.qdoc b/doc/src/editors/creator-editors.qdoc index bc631612aa7..3ccaaf3eb88 100644 --- a/doc/src/editors/creator-editors.qdoc +++ b/doc/src/editors/creator-editors.qdoc @@ -554,6 +554,12 @@ \row \li M208 \li Error + \li This id might be ambiguous and is not supported in the \QMLD. + \li + + \row + \li M209 + \li Error \li This type (type name) is not supported as a root element by \QMLD. \li diff --git a/src/libs/qmljs/qmljsstaticanalysismessage.cpp b/src/libs/qmljs/qmljsstaticanalysismessage.cpp index 157537be1a2..34929ab3b64 100644 --- a/src/libs/qmljs/qmljsstaticanalysismessage.cpp +++ b/src/libs/qmljs/qmljsstaticanalysismessage.cpp @@ -221,7 +221,7 @@ StaticAnalysisMessages::StaticAnalysisMessages() newMsg(WarnStatesOnlyInRootItemForVisualDesigner, Warning, tr("Qt Quick Designer only supports states in the root item.")); newMsg(ErrInvalidIdeInVisualDesigner, Error, - tr("This id might be ambiguous and is not supported in the Qt Quick Designer")); + tr("This id might be ambiguous and is not supported in the Qt Quick Designer.")); newMsg(WarnAboutQtQuick1InsteadQtQuick2, Warning, tr("Using Qt Quick 1 code model instead of Qt Quick 2.")); newMsg(ErrUnsupportedRootTypeInVisualDesigner, Error,