diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-15 08:01:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-17 00:20:50 (GMT) |
commit | 34f0d9de68963499bfbc245639d0a099433734b1 (patch) | |
tree | 10ca954f11fc5bfe6dfe357b1a52d454483d9d51 /src/declarative/qml/qdeclarativecomponent.cpp | |
parent | 48f89845732b2bf6b9e7a6dbe98efd6dfd5e3cff (diff) | |
download | Qt-34f0d9de68963499bfbc245639d0a099433734b1.zip Qt-34f0d9de68963499bfbc245639d0a099433734b1.tar.gz Qt-34f0d9de68963499bfbc245639d0a099433734b1.tar.bz2 |
Fix test failures
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativecomponent.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp index ffbd0fa..a280d7e 100644 --- a/src/declarative/qml/qdeclarativecomponent.cpp +++ b/src/declarative/qml/qdeclarativecomponent.cpp @@ -617,8 +617,6 @@ QDeclarativeComponentPrivate::beginCreate(QDeclarativeContextData *context, cons QObject *rv = begin(ctxt, ep, cc, start, count, &state, bindings); - if (!rv) ctxt->destroy(); - if (rv && !context->isInternal && ep->isDebugging) context->asQDeclarativeContextPrivate()->instances.append(rv); |