QmlJS: Disable unhelpful warning.

(cherry picked from commit a03de5f717)
This commit is contained in:
Christian Kamm
2011-04-26 14:42:33 +02:00
committed by con
parent 5b97322a19
commit 30b7370f5b

View File

@@ -2155,7 +2155,8 @@ QmlObjectValue *CppQmlTypes::getOrCreate(const QString &package, const QString &
// first get the cpp object value // first get the cpp object value
QmlObjectValue *cppObject = typeByCppName(cppName); QmlObjectValue *cppObject = typeByCppName(cppName);
if (!cppObject) { if (!cppObject) {
qWarning() << "QML type system: could not find '" << cppName << "'"; // ### disabled for now, should be communicated to the user somehow.
//qWarning() << "QML type system: could not find '" << cppName << "'";
return 0; return 0;
} }