summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp4
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;
}