Use the new canBeResized in ChoicePage.
This commit is contained in:
parent
01eede3f6e
commit
ffe419751c
@ -700,8 +700,7 @@ ChoicePage::updateActionChoicePreview( ChoicePage::Choice choice )
|
||||
|
||||
SelectionFilter filter = [ this ]( const QModelIndex& index )
|
||||
{
|
||||
return PartUtils::canBeResized( m_core,
|
||||
index.data( PartitionModel::PartitionPathRole ).toString() );
|
||||
return PartUtils::canBeResized( (Partition*)( index.data( PartitionModel::PartitionPtrRole ).value< void* >() ) );
|
||||
};
|
||||
m_beforePartitionBarsView->setSelectionFilter( filter );
|
||||
m_beforePartitionLabelsView->setSelectionFilter( filter );
|
||||
|
Loading…
Reference in New Issue
Block a user