|
|
|
@ -164,7 +164,9 @@ PartitionLabelsView::getIndexesToDraw( const QModelIndex& parent ) const
|
|
|
|
|
index.data( PartitionModel::SizeRole ).toLongLong() < maxHiddenB )
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
list.append( index );
|
|
|
|
|
if ( !modl->hasChildren( index ) || !m_extendedPartitionHidden )
|
|
|
|
|
list.append( index );
|
|
|
|
|
|
|
|
|
|
if ( modl->hasChildren( index ) )
|
|
|
|
|
list.append( getIndexesToDraw( index ) );
|
|
|
|
|
}
|
|
|
|
@ -514,6 +516,13 @@ PartitionLabelsView::setSelectionFilter( SelectionFilter canBeSelected )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
PartitionLabelsView::setExtendedPartitionHidden( bool hidden )
|
|
|
|
|
{
|
|
|
|
|
m_extendedPartitionHidden = hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QModelIndex
|
|
|
|
|
PartitionLabelsView::moveCursor( CursorAction cursorAction, Qt::KeyboardModifiers modifiers )
|
|
|
|
|
{
|
|
|
|
|