summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-08-25 02:42:59 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-25 02:42:59 (GMT)
commitde9bcc414c230fa7af1828d938c59fe2d139b968 (patch)
tree5f8a3ace3a940eb9f7f5be0f61ebb25d6a91268c
parent8823016dac5f0db41970926fada6db2b5f213e93 (diff)
downloadQt-de9bcc414c230fa7af1828d938c59fe2d139b968.zip
Qt-de9bcc414c230fa7af1828d938c59fe2d139b968.tar.gz
Qt-de9bcc414c230fa7af1828d938c59fe2d139b968.tar.bz2
Revert cb81a637c8ef041cff2e96c6065763084776d75a
Programming error to call with ns==0.
-rw-r--r--src/declarative/qml/qmlengine.cpp3
1 files changed, 0 insertions, 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);
}