summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-09 09:31:53 (GMT)
committeraxis <qt-info@nokia.com>2009-07-09 09:35:29 (GMT)
commitf9dcdb8ca49a67b6bd0a191bf622efb2efe9111b (patch)
treeb3690c4ae2bbbb85ae7259e4248ce202bb5b2e3e
parent7f36bb0705a2a47ac5f1450f97164c78df91fb4c (diff)
downloadQt-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
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp3
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()