Changeset View
Changeset View
Standalone View
Standalone View
plugins/quickopen/expandingtree/expandingtree.cpp
Context not available. | |||||
40 | QTreeView::drawRow( painter, option, index ); | 40 | QTreeView::drawRow( painter, option, index ); | ||
---|---|---|---|---|---|
41 | 41 | | |||
42 | const ExpandingWidgetModel* eModel = qobject_cast<const ExpandingWidgetModel*>(model()); | 42 | const ExpandingWidgetModel* eModel = qobject_cast<const ExpandingWidgetModel*>(model()); | ||
43 | if( eModel && eModel->isPartiallyExpanded( index ) ) | 43 | if( eModel && eModel->isPartiallyExpanded( index ) != ExpandingWidgetModel::ExpansionType::NotExpanded) | ||
44 | { | 44 | { | ||
45 | QRect rect = eModel->partialExpandRect( index ); | 45 | QRect rect = eModel->partialExpandRect( index ); | ||
46 | if( rect.isValid() ) | 46 | if( rect.isValid() ) | ||
Context not available. |