summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-15 08:01:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-17 00:20:50 (GMT)
commit34f0d9de68963499bfbc245639d0a099433734b1 (patch)
tree10ca954f11fc5bfe6dfe357b1a52d454483d9d51 /src/declarative/qml/qdeclarativecomponent.cpp
parent48f89845732b2bf6b9e7a6dbe98efd6dfd5e3cff (diff)
downloadQt-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.cpp2
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);