diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-12 13:42:35 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-12 13:42:35 (GMT) |
commit | f8c06c96b698392bea24f388840dec03274cb14b (patch) | |
tree | 46312e0f58a6acb59e86254aaa5c0978e61f8d8c /src/declarative/qml/qmlcontext.cpp | |
parent | eb60b6fdb3e7288a92d9febd097e3ab64480c518 (diff) | |
download | Qt-f8c06c96b698392bea24f388840dec03274cb14b.zip Qt-f8c06c96b698392bea24f388840dec03274cb14b.tar.gz Qt-f8c06c96b698392bea24f388840dec03274cb14b.tar.bz2 |
Disable code that triggers a crash at exit.
This is a hack. We should fix it properly.
Diffstat (limited to 'src/declarative/qml/qmlcontext.cpp')
-rw-r--r-- | src/declarative/qml/qmlcontext.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlcontext.cpp b/src/declarative/qml/qmlcontext.cpp index 91bf1c0..fa36eb1 100644 --- a/src/declarative/qml/qmlcontext.cpp +++ b/src/declarative/qml/qmlcontext.cpp @@ -85,9 +85,11 @@ void QmlContextPrivate::destroyed(QObject *obj) notifies.append(ii); } } - for (int ii = 0; ii < notifies.count(); ++ii) { - QMetaObject::activate(q, notifies[ii] + notifyIndex, 0); - } + + // ### Work around bug in shutdown + // for (int ii = 0; ii < notifies.count(); ++ii) { + // QMetaObject::activate(q, notifies[ii] + notifyIndex, 0); + // } } void QmlContextPrivate::init() |