[partition] Use config object in ChoicePage
This commit is contained in:
parent
859569e156
commit
8c8f2a14b6
@ -496,8 +496,7 @@ ChoicePage::applyActionChoice( InstallChoice choice )
|
||||
auto gs = Calamares::JobQueue::instance()->globalStorage();
|
||||
PartitionActions::Choices::AutoPartitionOptions options { gs->value( "defaultPartitionTableType" ).toString(),
|
||||
m_config->eraseFsType(),
|
||||
// TODO: LUKS
|
||||
Config::luksGenerationNames().find(gs->value( "luksFileSystemType" ).toString(), Config::LuksGeneration::Luks1),
|
||||
m_config->luksFileSystemType(),
|
||||
m_encryptWidget->passphrase(),
|
||||
gs->value( "efiSystemPartition" ).toString(),
|
||||
CalamaresUtils::GiBtoBytes(
|
||||
@ -862,8 +861,7 @@ ChoicePage::doReplaceSelectedPartition( const QModelIndex& current )
|
||||
selectedPartition,
|
||||
{ gs->value( "defaultPartitionType" ).toString(),
|
||||
gs->value( "defaultFileSystemType" ).toString(),
|
||||
// TODO: LUKS
|
||||
Config::luksGenerationNames().find(gs->value( "luksFileSystemType" ).toString(), Config::LuksGeneration::Luks1),
|
||||
m_config->luksFileSystemType(),
|
||||
m_encryptWidget->passphrase() } );
|
||||
Partition* homePartition = findPartitionByPath( { selectedDevice() }, *homePartitionPath );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user