diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-24 03:17:44 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-24 03:30:51 (GMT) |
commit | 50fe8dbed3adae3606bd2c32868821119b4f2808 (patch) | |
tree | 9053b41168d7ce072dfc05a2f86b7be0ab6ce235 /src/declarative | |
parent | 364f6c200a6faac825c7f1e0158d708fc60a8ff5 (diff) | |
download | Qt-50fe8dbed3adae3606bd2c32868821119b4f2808.zip Qt-50fe8dbed3adae3606bd2c32868821119b4f2808.tar.gz Qt-50fe8dbed3adae3606bd2c32868821119b4f2808.tar.bz2 |
Output all Loader errors.
Previously we were not outputting those that occurred on
component->create().
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeloader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeloader.cpp b/src/declarative/graphicsitems/qdeclarativeloader.cpp index 4301467..2149da8 100644 --- a/src/declarative/graphicsitems/qdeclarativeloader.cpp +++ b/src/declarative/graphicsitems/qdeclarativeloader.cpp @@ -320,6 +320,8 @@ void QDeclarativeLoaderPrivate::_q_sourceLoaded() delete ctxt; } } else { + if (!component->errors().isEmpty()) + qWarning() << component->errors(); delete obj; delete ctxt; source = QUrl(); |