diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 03:25:46 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 03:25:46 (GMT) |
commit | d02cc90ec24fd30d1440e06eb443eafb221cdbe7 (patch) | |
tree | 19b9a933abc830940b952eeb9c4f7939a238b7ad /src | |
parent | caa1832f8dd6012ed3d44d7b822c500485ffb5ec (diff) | |
download | Qt-d02cc90ec24fd30d1440e06eb443eafb221cdbe7.zip Qt-d02cc90ec24fd30d1440e06eb443eafb221cdbe7.tar.gz Qt-d02cc90ec24fd30d1440e06eb443eafb221cdbe7.tar.bz2 |
Fix QmlComponent::isError() after QmlComponent::create()
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qmlcomponent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp index 66440f5..1e167d5 100644 --- a/src/declarative/qml/qmlcomponent.cpp +++ b/src/declarative/qml/qmlcomponent.cpp @@ -190,10 +190,10 @@ QmlComponent::Status QmlComponent::status() const if (d->typeData) return Loading; - else if (d->engine && d->cc) - return Ready; else if (!d->errors.isEmpty()) return Error; + else if (d->engine && d->cc) + return Ready; else return Null; } |