diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbcore/primitives/hbframeitem.cpp --- a/src/hbcore/primitives/hbframeitem.cpp Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbcore/primitives/hbframeitem.cpp Mon Oct 18 18:23:13 2010 +0300 @@ -26,6 +26,8 @@ #include "hbframeitem.h" #include "hbevent.h" #include "hbframedrawerpool_p.h" +#include "hbframedrawer_p.h" +#include "hbinstance_p.h" #include #include @@ -240,5 +242,20 @@ } } +/*! + \reimp +*/ +QVariant HbFrameItem::itemChange(GraphicsItemChange change, const QVariant &value) +{ + if (change == QGraphicsItem::ItemVisibleHasChanged) { + if (!value.toBool() + && d->frameDrawer + && HbInstancePrivate::d_ptr()->mDropHiddenIconData) { + HbFrameDrawerPrivate::d_ptr(d->frameDrawer)->reset(); + } + } + return HbWidgetBase::itemChange(change, value); +} + // End of File