}
bool canExpand = false;
- for ( QListViewItemIterator it( getListView() ); it.current() && !canExpand; ++it )
+ for ( QListViewItemIterator it( currentPage() == myListView ? myListView : myUseCaseView ); it.current() && !canExpand; ++it )
canExpand = canExpand || ( it.current()->isSelected() && hasCollapsed( it.current() ) );
if ( canExpand ) {
*/
void QAD_ObjectBrowser::onExpandAll()
{
- for ( QListViewItemIterator it( getListView() ); it.current(); ++it )
+ for ( QListViewItemIterator it( currentPage() == myListView ? myListView : myUseCaseView ); it.current(); ++it )
if ( it.current()->isSelected() )
expand( it.current() );
}