QmlJS: Actually print warning for .qmltypes file

Change-Id: I93030362168719c126818006839e9fae0ca673ce
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Kai Koehne
2012-03-12 09:55:10 +01:00
parent 30e34ead0f
commit 712928ff08

View File

@@ -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));
} }
} }