mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Use the new canBeResized in ChoicePage.
This commit is contained in:
parent
01eede3f6e
commit
ffe419751c
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue