forked from qt-creator/qt-creator
QmlJS: Fix warning text when loading .qmltypes file
Change-Id: Ia9509087fad6a63de2c6f35a012f5542c6bc2c98 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -218,7 +218,7 @@ void TypeDescriptionReader::readComponent(UiObjectDefinition *ast)
|
|||||||
fmo->setAttachedTypeName(readStringBinding(script));
|
fmo->setAttachedTypeName(readStringBinding(script));
|
||||||
} else {
|
} else {
|
||||||
addWarning(script->firstSourceLocation(),
|
addWarning(script->firstSourceLocation(),
|
||||||
"Expected only name, prototype, defaultProperty, attachedType, exports"
|
"Expected only name, prototype, defaultProperty, attachedType, exports "
|
||||||
"and exportMetaObjectRevisions script bindings");
|
"and exportMetaObjectRevisions script bindings");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user