diff options
author | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-10-28 08:43:56 +0300 |
---|---|---|
committer | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-10-28 08:45:16 +0300 |
commit | 43586152da93da287bd95a460867ab49ea879055 (patch) | |
tree | 3056ce8d94888d6b02ca2da4750d052293283a4a | |
parent | f21858a8268707549010ce5be63b1ef6c7319c6c (diff) |
Fixes: MContainer setCentralWidget unit test.
RevBy: TBD.
Details: The widget cannot be deleted while it's a central widget of the container.
-rw-r--r-- | tests/ut_mcontainer/ut_mcontainer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ut_mcontainer/ut_mcontainer.cpp b/tests/ut_mcontainer/ut_mcontainer.cpp index 98638a22..48e50d62 100644 --- a/tests/ut_mcontainer/ut_mcontainer.cpp +++ b/tests/ut_mcontainer/ut_mcontainer.cpp @@ -70,8 +70,6 @@ void Ut_MContainer::setCentralWidget() // check that there exists centralWidget QVERIFY(m_subject->centralWidget() == tmp); - - delete tmp; } void Ut_MContainer::title() |