forked from qt-creator/qt-creator
QmlJS: Actually print warning for .qmltypes file
Change-Id: I93030362168719c126818006839e9fae0ca673ce Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -1285,7 +1285,7 @@ CppQmlTypesLoader::BuiltinObjects CppQmlTypesLoader::loadQmlTypes(const QFileInf
|
|||||||
if (!warning.isEmpty()) {
|
if (!warning.isEmpty()) {
|
||||||
warnings->append(TypeDescriptionReader::tr(
|
warnings->append(TypeDescriptionReader::tr(
|
||||||
"Warnings while loading qmltypes from %1:\n%2").arg(
|
"Warnings while loading qmltypes from %1:\n%2").arg(
|
||||||
qmlTypeFile.absoluteFilePath(), error));
|
qmlTypeFile.absoluteFilePath(), warning));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user