mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
[partition] Prefer GPT on EFI systems for new partition table
This commit is contained in:
parent
a68a381481
commit
e8264a4503
1 changed files with 5 additions and 0 deletions
|
@ -207,6 +207,11 @@ PartitionPage::onNewPartitionTableClicked()
|
|||
Ui_CreatePartitionTableDialog ui;
|
||||
ui.setupUi( dlg.data() );
|
||||
QString areYouSure = tr( "Are you sure you want to create a new partition table on %1?" ).arg( device->name() );
|
||||
if ( PartUtils::isEfiSystem() )
|
||||
ui.gptRadioButton->setChecked( true );
|
||||
else
|
||||
ui.mbrRadioButton->setChecked( true );
|
||||
|
||||
ui.areYouSureLabel->setText( areYouSure );
|
||||
if ( dlg->exec() == QDialog::Accepted )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue