|
|
|
@ -32,6 +32,7 @@
|
|
|
|
|
|
|
|
|
|
#include <QBoxLayout>
|
|
|
|
|
#include <QButtonGroup>
|
|
|
|
|
#include <QDir>
|
|
|
|
|
#include <QLabel>
|
|
|
|
|
|
|
|
|
|
ChoicePage::ChoicePage( QWidget* parent )
|
|
|
|
@ -256,6 +257,17 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
|
|
|
|
alongsideButton->hide();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool isEfi = QDir( "/sys/firmware/efi/efivars" ).exists();
|
|
|
|
|
bool efiSystemPartitionFound = !m_core->efiSystemPartitions().isEmpty();
|
|
|
|
|
|
|
|
|
|
if ( isEfi && !efiSystemPartitionFound )
|
|
|
|
|
{
|
|
|
|
|
cDebug() << "WARNING: system is EFI but there's not EFI system partition, "
|
|
|
|
|
"DISABLING alongside and replace features.";
|
|
|
|
|
alongsideButton->hide();
|
|
|
|
|
replaceButton->hide();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QFrame* hLine = new QFrame;
|
|
|
|
|
hLine->setFrameStyle( QFrame::HLine );
|
|
|
|
|
m_itemsLayout->addWidget( hLine );
|
|
|
|
|