diff options
author | axis <qt-info@nokia.com> | 2009-07-09 09:31:53 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-07-09 09:35:29 (GMT) |
commit | f9dcdb8ca49a67b6bd0a191bf622efb2efe9111b (patch) | |
tree | b3690c4ae2bbbb85ae7259e4248ce202bb5b2e3e /tests/auto/qwidget/tst_qwidget.cpp | |
parent | 7f36bb0705a2a47ac5f1450f97164c78df91fb4c (diff) | |
download | Qt-f9dcdb8ca49a67b6bd0a191bf622efb2efe9111b.zip Qt-f9dcdb8ca49a67b6bd0a191bf622efb2efe9111b.tar.gz Qt-f9dcdb8ca49a67b6bd0a191bf622efb2efe9111b.tar.bz2 |
Added some extra cleanup for QWidget autotest.
These leftovers made some tests fail on Symbian due to focus issues.
RevBy: Trust me
AutoTest: Passed
Diffstat (limited to 'tests/auto/qwidget/tst_qwidget.cpp')
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index 1bf12bb..eccb21b 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -2455,6 +2455,9 @@ void tst_QWidget::hideWhenFocusWidgetIsChild() actualFocusWidget.sprintf("%p %s %s", qApp->focusWidget(), qApp->focusWidget()->objectName().toLatin1().constData(), qApp->focusWidget()->metaObject()->className()); expectedFocusWidget.sprintf("%p %s %s", edit2, edit2->objectName().toLatin1().constData(), edit2->metaObject()->className()); QCOMPARE(actualFocusWidget, expectedFocusWidget); + + delete edit2; + delete parentWidget; } void tst_QWidget::normalGeometry() |