From de9bcc414c230fa7af1828d938c59fe2d139b968 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Tue, 25 Aug 2009 12:42:59 +1000 Subject: Revert cb81a637c8ef041cff2e96c6065763084776d75a Programming error to call with ns==0. --- src/declarative/qml/qmlengine.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp index b3e08ea..faac8cd 100644 --- a/src/declarative/qml/qmlengine.cpp +++ b/src/declarative/qml/qmlengine.cpp @@ -1362,9 +1362,6 @@ bool QmlEnginePrivate::resolveType(const Imports& imports, const QByteArray& typ */ void QmlEnginePrivate::resolveTypeInNamespace(ImportedNamespace* ns, const QByteArray& type, QmlType** type_return, QUrl* url_return, int *vmaj, int *vmin ) const { - if (!ns) - return; - if (type_return) { *type_return = ns->findBuiltin(type,vmaj,vmin); } -- cgit v0.12