diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2013-07-01 22:28:06 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-05 10:05:24 +0200 |
commit | bb6916dc5f52020229fd76c851fa5669f9b9ccf9 (patch) | |
tree | c98b968ff42b8ca72dbdad9899cc319e8d9b17e2 /tests/auto/qml/qqmllanguage | |
parent | 80e7142530f41b1bcecae796805e9ea2a3c9285e (diff) |
Fix crash tst_qqmllanguage
qmlClearTypeRegistrations() shouldn't be called when instances of
QQmlEngine are still open. This can lead to unexpected behavior.
For the qmlClearTypeRegistrations() function there is separate
autotest
Task-number: QTBUG-32078
Change-Id: I32612bc82602593d902bbffc58911e427b50524f
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'tests/auto/qml/qqmllanguage')
-rw-r--r-- | tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp index fd35a5b873..1ffaf8036c 100644 --- a/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp +++ b/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp @@ -245,7 +245,6 @@ private: void tst_qqmllanguage::cleanupTestCase() { QVERIFY(QFile::remove(testFile(QString::fromUtf8("I18nType\303\201\303\242\303\243\303\244\303\245.qml")))); - qmlClearTypeRegistrations(); // Should not crash } void tst_qqmllanguage::insertedSemicolon_data() |