diff -r 923ff622b8b9 -r 4633027730f5 src/hbcore/primitives/hbframeitem.cpp --- a/src/hbcore/primitives/hbframeitem.cpp Tue Jul 06 14:36:53 2010 +0300 +++ b/src/hbcore/primitives/hbframeitem.cpp Wed Aug 18 10:05:37 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