Hide bootloader chooser on EFI.

This commit is contained in:
Teo Mrnjavac 2016-03-09 12:54:16 +01:00
parent be9ec27350
commit 49eea234ed
2 changed files with 3 additions and 3 deletions

View File

@ -91,8 +91,8 @@ PartitionPage::PartitionPage( PartitionCoreModule* core, QWidget* parent )
connect( m_ui->deleteButton, &QAbstractButton::clicked, this, &PartitionPage::onDeleteClicked ); connect( m_ui->deleteButton, &QAbstractButton::clicked, this, &PartitionPage::onDeleteClicked );
if ( QDir( "/sys/firmware/efi/efivars" ).exists() ) { if ( QDir( "/sys/firmware/efi/efivars" ).exists() ) {
m_ui->bootLoaderComboBox->setDisabled( true ); m_ui->bootLoaderComboBox->hide();
m_ui->label_3->setDisabled( true ); m_ui->label_3->hide();
} }
CALAMARES_RETRANSLATE( m_ui->retranslateUi( this ); ) CALAMARES_RETRANSLATE( m_ui->retranslateUi( this ); )

View File

@ -164,7 +164,7 @@
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>40</width> <width>40</width>
<height>20</height> <height>1</height>
</size> </size>
</property> </property>
</spacer> </spacer>