src/hbwidgets/itemviews/hbtreeviewitem.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 30 80e4d18b72f5
equal deleted inserted replaced
21:4633027730f5 23:e6ad4ef83b23
   286     HB_SD(HbAbstractViewItem);
   286     HB_SD(HbAbstractViewItem);
   287 
   287 
   288     if (d->mExpanded != expanded) {
   288     if (d->mExpanded != expanded) {
   289         d->mExpanded = expanded;
   289         d->mExpanded = expanded;
   290 
   290 
   291 		if (sd->mItemView != 0) {
   291         if (sd->mItemView != 0) {
   292             HbTreeView *treeView = qobject_cast<HbTreeView *>(sd->mItemView);
   292             HbTreeView *treeView = qobject_cast<HbTreeView *>(sd->mItemView);
   293             if (treeView) {
   293             if (treeView) {
   294                 treeView->setExpanded(this->modelIndex(), expanded);
   294                 treeView->setExpanded(this->modelIndex(), expanded);
   295             }
   295             }
   296         }
   296         }