--- a/clock/clockui/clockviewmanager/src/clockviewmanager.cpp Mon Aug 09 18:30:52 2010 +0530
+++ b/clock/clockui/clockviewmanager/src/clockviewmanager.cpp Wed Aug 25 14:02:13 2010 +0530
@@ -161,6 +161,7 @@
// Find the main view.
mMainView = static_cast<ClockMainView *> (
docLoader->findWidget(CLOCK_MAIN_VIEW));
+ mMainView->setParent(this);
// Disable animation effect on toolbar.
HbEffect::disable(mMainView->toolBar()->graphicsItem());
@@ -190,6 +191,7 @@
// Get the world list view.
mWorldClockView = static_cast<ClockWorldView *> (
docLoader->findWidget(CLOCK_WORLD_VIEW));
+ mWorldClockView->setParent(this);
// Disable animation effect on toolbar.
HbEffect::disable(mWorldClockView->toolBar()->graphicsItem());